Add support for DPAD Center key of Android TV remote controller
(cherry picked from commit 9dc84e3581
)
This commit is contained in:
parent
bebe1436fe
commit
4c00ecd146
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ static AndroidGodotCodePair android_godot_code_pairs[] = {
|
|||
{ AKEYCODE_DPAD_DOWN, KEY_DOWN }, // (20) Directional Pad Down key.
|
||||
{ AKEYCODE_DPAD_LEFT, KEY_LEFT }, // (21) Directional Pad Left key.
|
||||
{ AKEYCODE_DPAD_RIGHT, KEY_RIGHT }, // (22) Directional Pad Right key.
|
||||
{ AKEYCODE_DPAD_CENTER, KEY_ENTER }, // (23) Directional Pad Center key.
|
||||
{ AKEYCODE_VOLUME_UP, KEY_VOLUMEUP }, // (24) Volume Up key.
|
||||
{ AKEYCODE_VOLUME_DOWN, KEY_VOLUMEDOWN }, // (25) Volume Down key.
|
||||
{ AKEYCODE_POWER, KEY_STANDBY }, // (26) Power key.
|
||||
|
|
Loading…
Reference in a new issue