Searched refs:MIN_AXIS (Results 1 – 8 of 8) sorted by relevance
22 static private final int MIN_AXIS = -32768, MAX_AXIS = 32767; field in OisJoystick62 axes[axisIndex] = ((value - MIN_AXIS) << 1) / (float)(MAX_AXIS - MIN_AXIS) - 1; // -1 to 1 in axisMoved()
194 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()
204 static const int MIN_AXIS = -32768; variable
145 if( mRanges[axis].min == JoyStick::MIN_AXIS && mRanges[axis].max != JoyStick::MAX_AXIS ) in capture()
127 mState.mAxes[axis].abs = -JoyStick::MIN_AXIS - (JoyStick::MAX_AXIS * 2 * proportion); in capture()
127 mState.mAxes[axis].abs = -JoyStick::MIN_AXIS - (JoyStick::MAX_AXIS * 2 * proportion);
207 diprg.lMin = MIN_AXIS; in DIEnumDeviceObjectsCallback()
1892 + mState.mAxes[axis].abs = -JoyStick::MIN_AXIS - (JoyStick::MAX_AXIS * 2 * proportion);