Android: Add DPAD_CENTER as an accept button. Fixes menu navigation on Mi Box and Shield Remote.

This commit is contained in:
Henrik Rydgård 2019-06-25 21:35:20 +02:00
parent 80c9391580
commit 5c4e4716b6

View File

@ -303,6 +303,7 @@ void UpdateNativeMenuKeys() {
KeyDef(DEVICE_ID_KEYBOARD, NKCODE_SPACE),
KeyDef(DEVICE_ID_KEYBOARD, NKCODE_ENTER),
KeyDef(DEVICE_ID_ANY, NKCODE_BUTTON_A),
KeyDef(DEVICE_ID_PAD_0, NKCODE_DPAD_CENTER), // A number of Android devices.
};
// If they're not already bound, add them in.