Mouse 4 as back in menu navigation

This commit is contained in:
iota97 committed 2020-04-02 18:26:31 +02:00
1 parent e8d6a605eb
commit ee0ebfe071
2 files changed
+24 -5

No files matched your search

+1
View File
@@ -339,6 +339,7 @@ void UpdateNativeMenuKeys() {
KeyDef(DEVICE_ID_KEYBOARD, NKCODE_ESCAPE),
KeyDef(DEVICE_ID_ANY, NKCODE_BACK),
KeyDef(DEVICE_ID_ANY, NKCODE_BUTTON_B),
KeyDef(DEVICE_ID_MOUSE, NKCODE_EXT_MOUSEBUTTON_4),
};
for (size_t i = 0; i < ARRAY_SIZE(hardcodedCancelKeys); i++) {