Fix issues regarding enter key not working with external keyboards #34

This commit is contained in:
WMCB-Tech 2021-09-30 10:14:49 +08:00
parent f1a0c3b4bb
commit db575f7887

View File

@ -55,6 +55,7 @@ int android_keycode_to_linux_event_code(int keyCode, int *eventCode, int *shift)
KEYCODE2(DPAD_LEFT, LEFT);
KEYCODE2(DPAD_DOWN, DOWN);
KEYCODE2(DPAD_RIGHT, RIGHT);
KEYCODE2(DPAD_CENTER, ENTER);
KEYCODE2(ALT_LEFT, LEFTALT);
KEYCODE2(ALT_RIGHT, RIGHTALT);
KEYCODE2(SHIFT_LEFT, LEFTSHIFT);