summaryrefslogtreecommitdiffstats
path: root/quantum/keycode_legacy.h
blob: 9c66f8fa5107b2c90d08361b4bc8cf40b7e46b9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#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