keycode_legacy.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #pragma once
  2. // clang-format off
  3. // These keycode names have been deprecated
  4. #define KC_BSPACE KC_BACKSPACE
  5. #define KC_LBRACKET KC_LEFT_BRACKET
  6. #define KC_RBRACKET KC_RIGHT_BRACKET
  7. #define KC_BSLASH KC_BACKSLASH
  8. #define KC_SCOLON KC_SEMICOLON
  9. #define KC_CAPSLOCK KC_CAPS_LOCK
  10. #define KC_PSCREEN KC_PRINT_SCREEN
  11. #define KC_SCROLLLOCK KC_SCROLL_LOCK
  12. #define KC_PGDOWN KC_PAGE_DOWN
  13. #define KC_NUMLOCK KC_NUM_LOCK
  14. #define KC_NONUS_BSLASH KC_NONUS_BACKSLASH
  15. #define KC_POWER KC_KB_POWER
  16. #define KC__MUTE KC_KB_MUTE
  17. #define KC__VOLUP KC_KB_VOLUME_UP
  18. #define KC__VOLDOWN KC_KB_VOLUME_DOWN
  19. #define KC_LANG1 KC_LANGUAGE_1
  20. #define KC_LANG2 KC_LANGUAGE_2
  21. #define KC_LANG3 KC_LANGUAGE_3
  22. #define KC_LANG4 KC_LANGUAGE_4
  23. #define KC_LANG5 KC_LANGUAGE_5
  24. #define KC_LANG6 KC_LANGUAGE_6
  25. #define KC_LANG7 KC_LANGUAGE_7
  26. #define KC_LANG8 KC_LANGUAGE_8
  27. #define KC_LANG9 KC_LANGUAGE_9
  28. #define KC_ALT_ERASE KC_ALTERNATE_ERASE
  29. #define KC_SYSREQ KC_SYSTEM_REQUEST
  30. #define KC_LCTRL KC_LEFT_CTRL
  31. #define KC_LSHIFT KC_LEFT_SHIFT
  32. #define KC_RCTRL KC_RIGHT_CTRL
  33. #define KC_RSHIFT KC_RIGHT_SHIFT
  34. #define KC_ZKHK KC_GRAVE
  35. #define KC_RO KC_INTERNATIONAL_1
  36. #define KC_KANA KC_INTERNATIONAL_2
  37. #define KC_JYEN KC_INTERNATIONAL_3
  38. #define KC_HENK KC_INTERNATIONAL_4
  39. #define KC_MHEN KC_INTERNATIONAL_5
  40. #define KC_HAEN KC_LANGUAGE_1
  41. #define KC_HANJ KC_LANGUAGE_2
  42. #define KC_CLCK KC_CAPS_LOCK
  43. #define KC_SLCK KC_SCROLL_LOCK
  44. #define KC_NLCK KC_NUM_LOCK