Home
last modified time | relevance | path

Searched refs:MIN_AXIS (Results 1 – 8 of 8) sorted by relevance

/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/src/com/badlogic/gdx/controllers/desktop/ois/
DOisJoystick.java22 static private final int MIN_AXIS = -32768, MAX_AXIS = 32767; field in OisJoystick
62 axes[axisIndex] = ((value - MIN_AXIS) << 1) / (float)(MAX_AXIS - MIN_AXIS) - 1; // -1 to 1 in axisMoved()
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/win32/extras/WiiMote/
DOISWiiMote.cpp194 else if( newEvent.nunChuckXAxis < JoyStick::MIN_AXIS ) in _threadUpdate()
195 newEvent.nunChuckXAxis = JoyStick::MIN_AXIS; in _threadUpdate()
200 else if( newEvent.nunChuckYAxis < JoyStick::MIN_AXIS ) in _threadUpdate()
201 newEvent.nunChuckYAxis = JoyStick::MIN_AXIS; in _threadUpdate()
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/includes/
DOISJoyStick.h204 static const int MIN_AXIS = -32768; variable
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/linux/
DLinuxJoyStickEvents.cpp145 if( mRanges[axis].min == JoyStick::MIN_AXIS && mRanges[axis].max != JoyStick::MAX_AXIS ) in capture()
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/mac/
DMacJoyStick.cpp127 mState.mAxes[axis].abs = -JoyStick::MIN_AXIS - (JoyStick::MAX_AXIS * 2 * proportion); in capture()
DCocoaJoyStick.mm127 mState.mAxes[axis].abs = -JoyStick::MIN_AXIS - (JoyStick::MAX_AXIS * 2 * proportion);
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/src/win32/
DWin32JoyStick.cpp207 diprg.lMin = MIN_AXIS; in DIEnumDeviceObjectsCallback()
/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/
Dcocoa.diff1892 + mState.mAxes[axis].abs = -JoyStick::MIN_AXIS - (JoyStick::MAX_AXIS * 2 * proportion);