mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-05 02:17:05 +00:00
ANDROID: Ignore input from the volume buttons
This commit is contained in:
parent
d91793e87e
commit
b8e1aa66e5
@ -184,6 +184,10 @@ public class ScummVMEvents implements
|
||||
|
||||
int type;
|
||||
switch (keyCode) {
|
||||
case KeyEvent.KEYCODE_VOLUME_DOWN:
|
||||
case KeyEvent.KEYCODE_VOLUME_UP:
|
||||
// We ignore these so that they can be handled by Android.
|
||||
return false;
|
||||
case KeyEvent.KEYCODE_DPAD_UP:
|
||||
case KeyEvent.KEYCODE_DPAD_DOWN:
|
||||
case KeyEvent.KEYCODE_DPAD_LEFT:
|
||||
|
Loading…
x
Reference in New Issue
Block a user