Add support for DPAD Center key of Android TV remote controller

(cherry picked from commit 9dc84e35816fbb41cfabb1b6e11536edd7263c67)
This commit is contained in:
Hiroki Taira 2023-05-14 08:05:14 +09:00 committed by Relintai
parent 5d80d2d9ca
commit 39bb646127

View File

@ -59,6 +59,7 @@ static AndroidPandemoniumCodePair android_pandemonium_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.