Use DEVICE_ID_ANY for the NK_BACK key in default mappings

This commit is contained in:
Jonas Höglund
2015-09-02 10:23:18 +02:00
committed by Henrik Rydgård
parent 06fadd5cad
commit a78d71029a
+1 -1
View File
@@ -325,7 +325,7 @@ void UpdateNativeMenuKeys() {
const KeyDef hardcodedCancelKeys[] = {
KeyDef(DEVICE_ID_KEYBOARD, NKCODE_ESCAPE),
KeyDef(DEVICE_ID_KEYBOARD, NKCODE_BACK),
KeyDef(DEVICE_ID_ANY, NKCODE_BACK),
};
for (size_t i = 0; i < ARRAY_SIZE(hardcodedCancelKeys); i++) {