summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2023-02-22 21:14:29 +0000
committerGitHub <noreply@github.com>2023-02-23 08:14:29 +1100
commit403b0addea48548abdbde6203d8673f2b77164a7 (patch)
tree7ba874598d9bad640b0ec17ae1615cb700b14ae8 /tests
parent93f2ed3abf909d06334ee51ac687abd782cf68d5 (diff)
Align magic keycodes (#19877)
Diffstat (limited to 'tests')
-rw-r--r--tests/test_common/keycode_table.cpp70
1 files changed, 35 insertions, 35 deletions
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<uint16_t, std::string> 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_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