Android: prevent auxilliary from overriding hardware
This commit is contained in:
parent
a2a3a11412
commit
cd22816c1b
|
@ -270,7 +270,7 @@ public class GL2JNIActivity extends Activity {
|
|||
handle_key(playerNum, pad.map[playerNum][1], false);
|
||||
pad.wasKeyStick[playerNum] = false;
|
||||
}
|
||||
} else {
|
||||
} else if (L2 == 0 && R2 ==0) {
|
||||
if (RS_Y > 0.25) {
|
||||
GL2JNIView.rt[playerNum] = (int) (RS_Y * 255);
|
||||
GL2JNIView.lt[playerNum] = (int) (L2 * 255);
|
||||
|
|
|
@ -332,7 +332,7 @@ public class GL2JNINative extends NativeActivity {
|
|||
handle_key(playerNum, pad.map[playerNum][1], false);
|
||||
pad.wasKeyStick[playerNum] = false;
|
||||
}
|
||||
} else {
|
||||
} else if (L2 == 0 && R2 ==0) {
|
||||
if (RS_Y > 0.25) {
|
||||
GL2JNIView.rt[playerNum] = (int) (RS_Y * 255);
|
||||
GL2JNIView.lt[playerNum] = (int) (L2 * 255);
|
||||
|
|
Loading…
Reference in New Issue