From 3b9c66731b1ec3f40386194f4ea95a08489f3a5e Mon Sep 17 00:00:00 2001 From: Ilya Zhuravlev Date: Sat, 22 May 2021 14:41:58 -0400 Subject: [PATCH] vial_ensure_keycode: assert newly supported keycodes --- quantum/vial_ensure_keycode.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/quantum/vial_ensure_keycode.h b/quantum/vial_ensure_keycode.h index 697a829e8b..6c23f67330 100644 --- a/quantum/vial_ensure_keycode.h +++ b/quantum/vial_ensure_keycode.h @@ -168,6 +168,35 @@ _Static_assert(KC_RCPC == 0x5CF4, ""); _Static_assert(KC_LAPO == 0x5CF5, ""); _Static_assert(KC_RAPC == 0x5CF6, ""); _Static_assert(KC_SFTENT == 0x5CD9, ""); +_Static_assert(MAGIC_SWAP_CONTROL_CAPSLOCK == 23554, ""); +_Static_assert(MAGIC_UNSWAP_CONTROL_CAPSLOCK == 23563, ""); +_Static_assert(MAGIC_CAPSLOCK_TO_CONTROL == 23555, ""); +_Static_assert(MAGIC_UNCAPSLOCK_TO_CONTROL == 23564, ""); +_Static_assert(MAGIC_SWAP_LCTL_LGUI == 23802, ""); +_Static_assert(MAGIC_UNSWAP_LCTL_LGUI == 23804, ""); +_Static_assert(MAGIC_SWAP_RCTL_RGUI == 23803, ""); +_Static_assert(MAGIC_UNSWAP_RCTL_RGUI == 23805, ""); +_Static_assert(MAGIC_SWAP_CTL_GUI == 23806, ""); +_Static_assert(MAGIC_UNSWAP_CTL_GUI == 23807, ""); +_Static_assert(MAGIC_TOGGLE_CTL_GUI == 23808, ""); +_Static_assert(MAGIC_SWAP_LALT_LGUI == 23556, ""); +_Static_assert(MAGIC_UNSWAP_LALT_LGUI == 23565, ""); +_Static_assert(MAGIC_SWAP_RALT_RGUI == 23557, ""); +_Static_assert(MAGIC_UNSWAP_RALT_RGUI == 23566, ""); +_Static_assert(MAGIC_SWAP_ALT_GUI == 23562, ""); +_Static_assert(MAGIC_UNSWAP_ALT_GUI == 23571, ""); +_Static_assert(MAGIC_TOGGLE_ALT_GUI == 23573, ""); +_Static_assert(MAGIC_NO_GUI == 23558, ""); +_Static_assert(MAGIC_UNNO_GUI == 23567, ""); +_Static_assert(MAGIC_SWAP_GRAVE_ESC == 23559, ""); +_Static_assert(MAGIC_UNSWAP_GRAVE_ESC == 23568, ""); +_Static_assert(MAGIC_SWAP_BACKSLASH_BACKSPACE == 23560, ""); +_Static_assert(MAGIC_UNSWAP_BACKSLASH_BACKSPACE == 23569, ""); +_Static_assert(MAGIC_HOST_NKRO == 23561, ""); +_Static_assert(MAGIC_UNHOST_NKRO == 23570, ""); +_Static_assert(MAGIC_TOGGLE_NKRO == 23572, ""); +_Static_assert(MAGIC_EE_HANDS_LEFT == 23809, ""); +_Static_assert(MAGIC_EE_HANDS_RIGHT == 23810, ""); /* KEYCODES_BACKLIGHT */ _Static_assert(BL_TOGG == 23743, "");