mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-03-06 14:27:44 +00:00
Android: Fix incorrect code in key list
This commit is contained in:
parent
a27f220f79
commit
434f75658c
|
@ -78,7 +78,7 @@ public class EmulationSurfaceView extends SurfaceView {
|
||||||
KeyEvent.KEYCODE_VOLUME_DOWN, // 19
|
KeyEvent.KEYCODE_VOLUME_DOWN, // 19
|
||||||
KeyEvent.KEYCODE_VOLUME_UP, // 20
|
KeyEvent.KEYCODE_VOLUME_UP, // 20
|
||||||
KeyEvent.KEYCODE_MENU, // 21
|
KeyEvent.KEYCODE_MENU, // 21
|
||||||
KeyEvent.KEYCODE_POWER, // 22
|
KeyEvent.KEYCODE_CAMERA, // 22
|
||||||
};
|
};
|
||||||
private static final int[] axisCodes = new int[]{
|
private static final int[] axisCodes = new int[]{
|
||||||
MotionEvent.AXIS_X, // 0/LeftX
|
MotionEvent.AXIS_X, // 0/LeftX
|
||||||
|
|
Loading…
Reference in a new issue