mirror of
https://github.com/godotengine/godot.git
synced 2024-12-15 10:12:40 +08:00
Merge pull request #77115 from hrk4649/support_android_dpad_center
Add support for DPAD Center key of Android TV remote controller
This commit is contained in:
commit
a14ef21c25
@ -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 New Issue
Block a user