Searched refs:mButtons (Results 1 - 8 of 8) sorted by relevance

/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/extras/LIRC/
H A DOISLIRC.cpp39 mState.mButtons.resize(mInfo.buttons);
80 mState.mButtons[events[i].button] = true;
84 mState.mButtons[events[i].button] = false;
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/includes/
H A DOISJoyStick.h73 std::vector<bool> mButtons; member in class:OIS::JoyStickState
90 for( std::vector<bool>::iterator i = mButtons.begin(), e = mButtons.end(); i != e; ++i )
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/
H A DOISJoyStick.cpp42 case OIS_Button: return (int)mState.mButtons.size();
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/linux/
H A DLinuxJoyStickEvents.cpp54 mState.mButtons.clear();
55 mState.mButtons.resize(js.buttons);
121 mState.mButtons[button] = true;
127 mState.mButtons[button] = false;
233 js.buttons = (int)mState.mButtons.size();
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/win32/extras/WiiMote/
H A DOISWiiMote.cpp81 mState.mButtons.clear();
87 mState.mButtons.resize(9);
95 mState.mButtons.resize(7);
344 int buttons = (int)mState.mButtons.size();
350 mState.mButtons[b] = true;
357 mState.mButtons[b] = false;
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/win32/
H A DWin32JoyStick.cpp144 mState.mButtons.resize(XINPUT_TRANSLATED_BUTTON_COUNT);
156 mState.mButtons.resize(mDIJoyCaps.dwButtons);
461 std::copy(mState.mButtons.begin(), mState.mButtons.end(), previousButtons);
463 mState.mButtons[i] = (inputState.Gamepad.wButtons & (1 << (i + 4))) != 0;
484 if (!previousButtons[i] && mState.mButtons[i])
489 else if (previousButtons[i] && !mState.mButtons[i])
504 mState.mButtons[button] = true;
510 mState.mButtons[button] = false;
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/mac/
H A DMacJoyStick.cpp72 mState.mButtons.resize(mInfo->numButtons);
107 mState.mButtons[button] = (event.value == 1);
H A DCocoaJoyStick.mm72 mState.mButtons.resize(mInfo->numButtons);
107 mState.mButtons[button] = (event.value == 1);

Completed in 149 milliseconds