From 403b0addea48548abdbde6203d8673f2b77164a7 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Wed, 22 Feb 2023 21:14:29 +0000 Subject: Align magic keycodes (#19877) --- tests/test_common/keycode_table.cpp | 70 ++++++++++++++++++------------------- 1 file changed, 35 insertions(+), 35 deletions(-) (limited to 'tests') diff --git a/tests/test_common/keycode_table.cpp b/tests/test_common/keycode_table.cpp index 887f24f927..3aa97f4e0d 100644 --- a/tests/test_common/keycode_table.cpp +++ b/tests/test_common/keycode_table.cpp @@ -259,41 +259,41 @@ std::map KEYCODE_ID_TABLE = { {QK_SWAP_HANDS_OFF, "QK_SWAP_HANDS_OFF"}, {QK_SWAP_HANDS_ON, "QK_SWAP_HANDS_ON"}, {QK_SWAP_HANDS_ONE_SHOT, "QK_SWAP_HANDS_ONE_SHOT"}, - {MAGIC_SWAP_CONTROL_CAPSLOCK, "MAGIC_SWAP_CONTROL_CAPSLOCK"}, - {MAGIC_UNSWAP_CONTROL_CAPSLOCK, "MAGIC_UNSWAP_CONTROL_CAPSLOCK"}, - {MAGIC_TOGGLE_CONTROL_CAPSLOCK, "MAGIC_TOGGLE_CONTROL_CAPSLOCK"}, - {MAGIC_UNCAPSLOCK_TO_CONTROL, "MAGIC_UNCAPSLOCK_TO_CONTROL"}, - {MAGIC_CAPSLOCK_TO_CONTROL, "MAGIC_CAPSLOCK_TO_CONTROL"}, - {MAGIC_SWAP_LALT_LGUI, "MAGIC_SWAP_LALT_LGUI"}, - {MAGIC_UNSWAP_LALT_LGUI, "MAGIC_UNSWAP_LALT_LGUI"}, - {MAGIC_SWAP_RALT_RGUI, "MAGIC_SWAP_RALT_RGUI"}, - {MAGIC_UNSWAP_RALT_RGUI, "MAGIC_UNSWAP_RALT_RGUI"}, - {MAGIC_UNNO_GUI, "MAGIC_UNNO_GUI"}, - {MAGIC_NO_GUI, "MAGIC_NO_GUI"}, - {MAGIC_TOGGLE_GUI, "MAGIC_TOGGLE_GUI"}, - {MAGIC_SWAP_GRAV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