Use DEVICE_ID_ANY for the NK_BACK key in default mappings

This commit is contained in:
Jonas Höglund 2015-08-29 21:53:34 +02:00 committed by Henrik Rydgård
parent 06fadd5cad
commit a78d71029a

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++) {