From ef75ad488de88b15e8332d3c4b6299800086cc4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Wed, 27 Oct 2021 21:19:48 +0200 Subject: [PATCH] Update the scancodes of the right shift and ISO key on the test keymap in accordance with the factory key testing software. --- right/src/test_switches.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/right/src/test_switches.c b/right/src/test_switches.c index f5958ad72..a3667c5bc 100644 --- a/right/src/test_switches.c +++ b/right/src/test_switches.c @@ -44,7 +44,7 @@ static const key_action_t TestKeymap[1][2][MAX_KEY_COUNT_PER_MODULE] = { { .type = KeyActionType_Keystroke, .keystroke = { .scancode = HID_KEYBOARD_SC_COMMA_AND_LESS_THAN_SIGN } }, { .type = KeyActionType_Keystroke, .keystroke = { .scancode = HID_KEYBOARD_SC_DOT_AND_GREATER_THAN_SIGN } }, { .type = KeyActionType_Keystroke, .keystroke = { .scancode = HID_KEYBOARD_SC_SLASH_AND_QUESTION_MARK } }, - { .type = KeyActionType_Keystroke, .keystroke = { .scancode = HID_KEYBOARD_SC_RIGHT_SHIFT } }, + { .type = KeyActionType_Keystroke, .keystroke = { .scancode = HID_KEYBOARD_SC_INTERNATIONAL1 } }, { .type = KeyActionType_None }, // Row 5 @@ -87,7 +87,7 @@ static const key_action_t TestKeymap[1][2][MAX_KEY_COUNT_PER_MODULE] = { // Row 4 { .type = KeyActionType_Keystroke, .keystroke = { .scancode = HID_KEYBOARD_SC_LEFT_SHIFT } }, - { .type = KeyActionType_Keystroke, .keystroke = { .scancode = HID_KEYBOARD_SC_NON_US_BACKSLASH_AND_PIPE } }, + { .type = KeyActionType_Keystroke, .keystroke = { .scancode = HID_KEYBOARD_SC_INTERNATIONAL4 } }, { .type = KeyActionType_Keystroke, .keystroke = { .scancode = HID_KEYBOARD_SC_Z } }, { .type = KeyActionType_Keystroke, .keystroke = { .scancode = HID_KEYBOARD_SC_X } }, { .type = KeyActionType_Keystroke, .keystroke = { .scancode = HID_KEYBOARD_SC_C } },