qmk_firmware/quantum/keycode_legacy.h

33 lines
1.0 KiB
C
Raw Normal View History

2021-11-04 06:22:17 +01:00
#pragma once
// clang-format off
// These keycode names have been deprecated
#define KC_BSPACE KC_BACKSPACE
#define KC_LBRACKET KC_LEFT_BRACKET
#define KC_RBRACKET KC_RIGHT_BRACKET
#define KC_BSLASH KC_BACKSLASH
#define KC_SCOLON KC_SEMICOLON
#define KC_CAPSLOCK KC_CAPS_LOCK
#define KC_PSCREEN KC_PRINT_SCREEN
#define KC_SCROLLLOCK KC_SCROLL_LOCK
#define KC_PGDOWN KC_PAGE_DOWN
#define KC_NUMLOCK KC_NUM_LOCK
#define KC_NONUS_BSLASH KC_NONUS_BACKSLASH
#define KC_POWER KC_KB_POWER
#define KC__MUTE KC_KB_MUTE
#define KC__VOLUP KC_KB_VOLUME_UP
#define KC__VOLDOWN KC_KB_VOLUME_DOWN
#define KC_ALT_ERASE KC_ALTERNATE_ERASE
#define KC_SYSREQ KC_SYSTEM_REQUEST
#define KC_LCTRL KC_LEFT_CTRL
#define KC_LSHIFT KC_LEFT_SHIFT
#define KC_RCTRL KC_RIGHT_CTRL
#define KC_RSHIFT KC_RIGHT_SHIFT
#define KC_CLCK KC_CAPS_LOCK
#define KC_SLCK KC_SCROLL_LOCK
#define KC_NLCK KC_NUM_LOCK