Swap pitch and yaw in joystick constants
This commit is contained in:
parent
0af71adf39
commit
d2b0860577
1 changed files with 3 additions and 3 deletions
|
@ -55,9 +55,9 @@ public class XashActivity extends Activity {
|
||||||
private final static byte JOY_HAT_LEFT = 8;
|
private final static byte JOY_HAT_LEFT = 8;
|
||||||
|
|
||||||
private final static byte JOY_AXIS_SIDE = 0; // this represents default
|
private final static byte JOY_AXIS_SIDE = 0; // this represents default
|
||||||
private final static byte JOY_AXIS_FWD = 1; // engine binding: SFYPRL
|
private final static byte JOY_AXIS_FWD = 1; // engine binding: SFPYRL
|
||||||
private final static byte JOY_AXIS_YAW = 2;
|
private final static byte JOY_AXIS_PITCH = 2;
|
||||||
private final static byte JOY_AXIS_PITCH = 3;
|
private final static byte JOY_AXIS_YAW = 3;
|
||||||
private final static byte JOY_AXIS_RT = 4;
|
private final static byte JOY_AXIS_RT = 4;
|
||||||
private final static byte JOY_AXIS_LT = 5;
|
private final static byte JOY_AXIS_LT = 5;
|
||||||
private static float prevSide, prevFwd, prevYaw, prevPtch, prevLT, prevRT, prevHX, prevHY;
|
private static float prevSide, prevFwd, prevYaw, prevPtch, prevLT, prevRT, prevHX, prevHY;
|
||||||
|
|
Loading…
Add table
Reference in a new issue