diff options
author | Matthew Garrett | 2016-05-22 15:17:45 -0700 |
---|---|---|
committer | Matthew Garrett | 2016-05-22 15:23:44 -0700 |
commit | 832d7bb289aef42f5eb48dc0495e1519f6bc5e71 (patch) | |
tree | 8333441d0561ede8d4b07d9b97ddc2a4ac46f83a /backends/platform/android/org | |
parent | 497859ad90ba1f7e89295f4221f546637c3bd17f (diff) | |
download | scummvm-rg350-832d7bb289aef42f5eb48dc0495e1519f6bc5e71.tar.gz scummvm-rg350-832d7bb289aef42f5eb48dc0495e1519f6bc5e71.tar.bz2 scummvm-rg350-832d7bb289aef42f5eb48dc0495e1519f6bc5e71.zip |
ANDROID: Add support for ScummVM menu on Android TV devices
Android TV devices don't have menu buttons. Remotes should have a play/pause
button (which may send individual play and pause events rather than a
combined event) and gamepads should have a Y button. Use these to open the
menu.
Diffstat (limited to 'backends/platform/android/org')
-rw-r--r-- | backends/platform/android/org/scummvm/scummvm/ScummVMEvents.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/platform/android/org/scummvm/scummvm/ScummVMEvents.java b/backends/platform/android/org/scummvm/scummvm/ScummVMEvents.java index 32c65d3395..e81000d8b1 100644 --- a/backends/platform/android/org/scummvm/scummvm/ScummVMEvents.java +++ b/backends/platform/android/org/scummvm/scummvm/ScummVMEvents.java @@ -119,6 +119,8 @@ public class ScummVMEvents implements case KeyEvent.KEYCODE_MENU: case KeyEvent.KEYCODE_CAMERA: case KeyEvent.KEYCODE_SEARCH: + case KeyEvent.KEYCODE_MEDIA_PLAY: + case KeyEvent.KEYCODE_MEDIA_PAUSE: break; default: |