2022-11-05 11:30:09 +01:00
|
|
|
// Copyright 2022 QMK
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
|
|
/*******************************************************************************
|
|
|
|
88888888888 888 d8b .d888 d8b 888 d8b
|
|
|
|
888 888 Y8P d88P" Y8P 888 Y8P
|
|
|
|
888 888 888 888
|
|
|
|
888 88888b. 888 .d8888b 888888 888 888 .d88b. 888 .d8888b
|
|
|
|
888 888 "88b 888 88K 888 888 888 d8P Y8b 888 88K
|
|
|
|
888 888 888 888 "Y8888b. 888 888 888 88888888 888 "Y8888b.
|
|
|
|
888 888 888 888 X88 888 888 888 Y8b. 888 X88
|
|
|
|
888 888 888 888 88888P' 888 888 888 "Y8888 888 88888P'
|
|
|
|
888 888
|
|
|
|
888 888
|
|
|
|
888 888
|
|
|
|
.d88b. .d88b. 88888b. .d88b. 888d888 8888b. 888888 .d88b. .d88888
|
|
|
|
d88P"88b d8P Y8b 888 "88b d8P Y8b 888P" "88b 888 d8P Y8b d88" 888
|
|
|
|
888 888 88888888 888 888 88888888 888 .d888888 888 88888888 888 888
|
|
|
|
Y88b 888 Y8b. 888 888 Y8b. 888 888 888 Y88b. Y8b. Y88b 888
|
|
|
|
"Y88888 "Y8888 888 888 "Y8888 888 "Y888888 "Y888 "Y8888 "Y88888
|
|
|
|
888
|
|
|
|
Y8b d88P
|
|
|
|
"Y88P"
|
|
|
|
*******************************************************************************/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
// clang-format off
|
|
|
|
|
|
|
|
enum qk_keycode_ranges {
|
|
|
|
// Ranges
|
|
|
|
QK_BASIC = 0x0000,
|
|
|
|
QK_BASIC_MAX = 0x00FF,
|
|
|
|
QK_MODS = 0x0100,
|
|
|
|
QK_MODS_MAX = 0x1FFF,
|
|
|
|
QK_MOD_TAP = 0x2000,
|
|
|
|
QK_MOD_TAP_MAX = 0x3FFF,
|
|
|
|
QK_LAYER_TAP = 0x4000,
|
|
|
|
QK_LAYER_TAP_MAX = 0x4FFF,
|
|
|
|
QK_LAYER_MOD = 0x5000,
|
|
|
|
QK_LAYER_MOD_MAX = 0x51FF,
|
|
|
|
QK_TO = 0x5200,
|
|
|
|
QK_TO_MAX = 0x521F,
|
|
|
|
QK_MOMENTARY = 0x5220,
|
|
|
|
QK_MOMENTARY_MAX = 0x523F,
|
|
|
|
QK_DEF_LAYER = 0x5240,
|
|
|
|
QK_DEF_LAYER_MAX = 0x525F,
|
|
|
|
QK_TOGGLE_LAYER = 0x5260,
|
|
|
|
QK_TOGGLE_LAYER_MAX = 0x527F,
|
|
|
|
QK_ONE_SHOT_LAYER = 0x5280,
|
|
|
|
QK_ONE_SHOT_LAYER_MAX = 0x529F,
|
|
|
|
QK_ONE_SHOT_MOD = 0x52A0,
|
|
|
|
QK_ONE_SHOT_MOD_MAX = 0x52BF,
|
|
|
|
QK_LAYER_TAP_TOGGLE = 0x52C0,
|
|
|
|
QK_LAYER_TAP_TOGGLE_MAX = 0x52DF,
|
|
|
|
QK_SWAP_HANDS = 0x5600,
|
|
|
|
QK_SWAP_HANDS_MAX = 0x56FF,
|
|
|
|
QK_TAP_DANCE = 0x5700,
|
|
|
|
QK_TAP_DANCE_MAX = 0x57FF,
|
|
|
|
QK_MAGIC = 0x7000,
|
|
|
|
QK_MAGIC_MAX = 0x70FF,
|
|
|
|
QK_MIDI = 0x7100,
|
|
|
|
QK_MIDI_MAX = 0x71FF,
|
|
|
|
QK_SEQUENCER = 0x7200,
|
|
|
|
QK_SEQUENCER_MAX = 0x73FF,
|
|
|
|
QK_JOYSTICK = 0x7400,
|
|
|
|
QK_JOYSTICK_MAX = 0x743F,
|
|
|
|
QK_PROGRAMMABLE_BUTTON = 0x7440,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_MAX = 0x747F,
|
|
|
|
QK_AUDIO = 0x7480,
|
|
|
|
QK_AUDIO_MAX = 0x74BF,
|
|
|
|
QK_STENO = 0x74C0,
|
|
|
|
QK_STENO_MAX = 0x74FF,
|
|
|
|
QK_MACRO = 0x7700,
|
|
|
|
QK_MACRO_MAX = 0x777F,
|
|
|
|
QK_LIGHTING = 0x7800,
|
|
|
|
QK_LIGHTING_MAX = 0x78FF,
|
|
|
|
QK_QUANTUM = 0x7C00,
|
|
|
|
QK_QUANTUM_MAX = 0x7DFF,
|
|
|
|
QK_KB = 0x7E00,
|
|
|
|
QK_KB_MAX = 0x7EFF,
|
|
|
|
QK_USER = 0x7F00,
|
|
|
|
QK_USER_MAX = 0x7FFF,
|
|
|
|
QK_UNICODE = 0x8000,
|
|
|
|
QK_UNICODE_MAX = 0xFFFF,
|
|
|
|
};
|
|
|
|
|
|
|
|
enum qk_keycode_defines {
|
|
|
|
// Keycodes
|
|
|
|
KC_NO = 0x0000,
|
|
|
|
KC_TRANSPARENT = 0x0001,
|
|
|
|
KC_A = 0x0004,
|
|
|
|
KC_B = 0x0005,
|
|
|
|
KC_C = 0x0006,
|
|
|
|
KC_D = 0x0007,
|
|
|
|
KC_E = 0x0008,
|
|
|
|
KC_F = 0x0009,
|
|
|
|
KC_G = 0x000A,
|
|
|
|
KC_H = 0x000B,
|
|
|
|
KC_I = 0x000C,
|
|
|
|
KC_J = 0x000D,
|
|
|
|
KC_K = 0x000E,
|
|
|
|
KC_L = 0x000F,
|
|
|
|
KC_M = 0x0010,
|
|
|
|
KC_N = 0x0011,
|
|
|
|
KC_O = 0x0012,
|
|
|
|
KC_P = 0x0013,
|
|
|
|
KC_Q = 0x0014,
|
|
|
|
KC_R = 0x0015,
|
|
|
|
KC_S = 0x0016,
|
|
|
|
KC_T = 0x0017,
|
|
|
|
KC_U = 0x0018,
|
|
|
|
KC_V = 0x0019,
|
|
|
|
KC_W = 0x001A,
|
|
|
|
KC_X = 0x001B,
|
|
|
|
KC_Y = 0x001C,
|
|
|
|
KC_Z = 0x001D,
|
|
|
|
KC_1 = 0x001E,
|
|
|
|
KC_2 = 0x001F,
|
|
|
|
KC_3 = 0x0020,
|
|
|
|
KC_4 = 0x0021,
|
|
|
|
KC_5 = 0x0022,
|
|
|
|
KC_6 = 0x0023,
|
|
|
|
KC_7 = 0x0024,
|
|
|
|
KC_8 = 0x0025,
|
|
|
|
KC_9 = 0x0026,
|
|
|
|
KC_0 = 0x0027,
|
|
|
|
KC_ENTER = 0x0028,
|
|
|
|
KC_ESCAPE = 0x0029,
|
|
|
|
KC_BACKSPACE = 0x002A,
|
|
|
|
KC_TAB = 0x002B,
|
|
|
|
KC_SPACE = 0x002C,
|
|
|
|
KC_MINUS = 0x002D,
|
|
|
|
KC_EQUAL = 0x002E,
|
|
|
|
KC_LEFT_BRACKET = 0x002F,
|
|
|
|
KC_RIGHT_BRACKET = 0x0030,
|
|
|
|
KC_BACKSLASH = 0x0031,
|
|
|
|
KC_NONUS_HASH = 0x0032,
|
|
|
|
KC_SEMICOLON = 0x0033,
|
|
|
|
KC_QUOTE = 0x0034,
|
|
|
|
KC_GRAVE = 0x0035,
|
|
|
|
KC_COMMA = 0x0036,
|
|
|
|
KC_DOT = 0x0037,
|
|
|
|
KC_SLASH = 0x0038,
|
|
|
|
KC_CAPS_LOCK = 0x0039,
|
|
|
|
KC_F1 = 0x003A,
|
|
|
|
KC_F2 = 0x003B,
|
|
|
|
KC_F3 = 0x003C,
|
|
|
|
KC_F4 = 0x003D,
|
|
|
|
KC_F5 = 0x003E,
|
|
|
|
KC_F6 = 0x003F,
|
|
|
|
KC_F7 = 0x0040,
|
|
|
|
KC_F8 = 0x0041,
|
|
|
|
KC_F9 = 0x0042,
|
|
|
|
KC_F10 = 0x0043,
|
|
|
|
KC_F11 = 0x0044,
|
|
|
|
KC_F12 = 0x0045,
|
|
|
|
KC_PRINT_SCREEN = 0x0046,
|
|
|
|
KC_SCROLL_LOCK = 0x0047,
|
|
|
|
KC_PAUSE = 0x0048,
|
|
|
|
KC_INSERT = 0x0049,
|
|
|
|
KC_HOME = 0x004A,
|
|
|
|
KC_PAGE_UP = 0x004B,
|
|
|
|
KC_DELETE = 0x004C,
|
|
|
|
KC_END = 0x004D,
|
|
|
|
KC_PAGE_DOWN = 0x004E,
|
|
|
|
KC_RIGHT = 0x004F,
|
|
|
|
KC_LEFT = 0x0050,
|
|
|
|
KC_DOWN = 0x0051,
|
|
|
|
KC_UP = 0x0052,
|
|
|
|
KC_NUM_LOCK = 0x0053,
|
|
|
|
KC_KP_SLASH = 0x0054,
|
|
|
|
KC_KP_ASTERISK = 0x0055,
|
|
|
|
KC_KP_MINUS = 0x0056,
|
|
|
|
KC_KP_PLUS = 0x0057,
|
|
|
|
KC_KP_ENTER = 0x0058,
|
|
|
|
KC_KP_1 = 0x0059,
|
|
|
|
KC_KP_2 = 0x005A,
|
|
|
|
KC_KP_3 = 0x005B,
|
|
|
|
KC_KP_4 = 0x005C,
|
|
|
|
KC_KP_5 = 0x005D,
|
|
|
|
KC_KP_6 = 0x005E,
|
|
|
|
KC_KP_7 = 0x005F,
|
|
|
|
KC_KP_8 = 0x0060,
|
|
|
|
KC_KP_9 = 0x0061,
|
|
|
|
KC_KP_0 = 0x0062,
|
|
|
|
KC_KP_DOT = 0x0063,
|
|
|
|
KC_NONUS_BACKSLASH = 0x0064,
|
|
|
|
KC_APPLICATION = 0x0065,
|
|
|
|
KC_KB_POWER = 0x0066,
|
|
|
|
KC_KP_EQUAL = 0x0067,
|
|
|
|
KC_F13 = 0x0068,
|
|
|
|
KC_F14 = 0x0069,
|
|
|
|
KC_F15 = 0x006A,
|
|
|
|
KC_F16 = 0x006B,
|
|
|
|
KC_F17 = 0x006C,
|
|
|
|
KC_F18 = 0x006D,
|
|
|
|
KC_F19 = 0x006E,
|
|
|
|
KC_F20 = 0x006F,
|
|
|
|
KC_F21 = 0x0070,
|
|
|
|
KC_F22 = 0x0071,
|
|
|
|
KC_F23 = 0x0072,
|
|
|
|
KC_F24 = 0x0073,
|
|
|
|
KC_EXECUTE = 0x0074,
|
|
|
|
KC_HELP = 0x0075,
|
|
|
|
KC_MENU = 0x0076,
|
|
|
|
KC_SELECT = 0x0077,
|
|
|
|
KC_STOP = 0x0078,
|
|
|
|
KC_AGAIN = 0x0079,
|
|
|
|
KC_UNDO = 0x007A,
|
|
|
|
KC_CUT = 0x007B,
|
|
|
|
KC_COPY = 0x007C,
|
|
|
|
KC_PASTE = 0x007D,
|
|
|
|
KC_FIND = 0x007E,
|
|
|
|
KC_KB_MUTE = 0x007F,
|
|
|
|
KC_KB_VOLUME_UP = 0x0080,
|
|
|
|
KC_KB_VOLUME_DOWN = 0x0081,
|
|
|
|
KC_LOCKING_CAPS_LOCK = 0x0082,
|
|
|
|
KC_LOCKING_NUM_LOCK = 0x0083,
|
|
|
|
KC_LOCKING_SCROLL_LOCK = 0x0084,
|
|
|
|
KC_KP_COMMA = 0x0085,
|
|
|
|
KC_KP_EQUAL_AS400 = 0x0086,
|
|
|
|
KC_INTERNATIONAL_1 = 0x0087,
|
|
|
|
KC_INTERNATIONAL_2 = 0x0088,
|
|
|
|
KC_INTERNATIONAL_3 = 0x0089,
|
|
|
|
KC_INTERNATIONAL_4 = 0x008A,
|
|
|
|
KC_INTERNATIONAL_5 = 0x008B,
|
|
|
|
KC_INTERNATIONAL_6 = 0x008C,
|
|
|
|
KC_INTERNATIONAL_7 = 0x008D,
|
|
|
|
KC_INTERNATIONAL_8 = 0x008E,
|
|
|
|
KC_INTERNATIONAL_9 = 0x008F,
|
|
|
|
KC_LANGUAGE_1 = 0x0090,
|
|
|
|
KC_LANGUAGE_2 = 0x0091,
|
|
|
|
KC_LANGUAGE_3 = 0x0092,
|
|
|
|
KC_LANGUAGE_4 = 0x0093,
|
|
|
|
KC_LANGUAGE_5 = 0x0094,
|
|
|
|
KC_LANGUAGE_6 = 0x0095,
|
|
|
|
KC_LANGUAGE_7 = 0x0096,
|
|
|
|
KC_LANGUAGE_8 = 0x0097,
|
|
|
|
KC_LANGUAGE_9 = 0x0098,
|
|
|
|
KC_ALTERNATE_ERASE = 0x0099,
|
|
|
|
KC_SYSTEM_REQUEST = 0x009A,
|
|
|
|
KC_CANCEL = 0x009B,
|
|
|
|
KC_CLEAR = 0x009C,
|
|
|
|
KC_PRIOR = 0x009D,
|
|
|
|
KC_RETURN = 0x009E,
|
|
|
|
KC_SEPARATOR = 0x009F,
|
|
|
|
KC_OUT = 0x00A0,
|
|
|
|
KC_OPER = 0x00A1,
|
|
|
|
KC_CLEAR_AGAIN = 0x00A2,
|
|
|
|
KC_CRSEL = 0x00A3,
|
|
|
|
KC_EXSEL = 0x00A4,
|
|
|
|
KC_SYSTEM_POWER = 0x00A5,
|
|
|
|
KC_SYSTEM_SLEEP = 0x00A6,
|
|
|
|
KC_SYSTEM_WAKE = 0x00A7,
|
|
|
|
KC_AUDIO_MUTE = 0x00A8,
|
|
|
|
KC_AUDIO_VOL_UP = 0x00A9,
|
|
|
|
KC_AUDIO_VOL_DOWN = 0x00AA,
|
|
|
|
KC_MEDIA_NEXT_TRACK = 0x00AB,
|
|
|
|
KC_MEDIA_PREV_TRACK = 0x00AC,
|
|
|
|
KC_MEDIA_STOP = 0x00AD,
|
|
|
|
KC_MEDIA_PLAY_PAUSE = 0x00AE,
|
|
|
|
KC_MEDIA_SELECT = 0x00AF,
|
|
|
|
KC_MEDIA_EJECT = 0x00B0,
|
|
|
|
KC_MAIL = 0x00B1,
|
|
|
|
KC_CALCULATOR = 0x00B2,
|
|
|
|
KC_MY_COMPUTER = 0x00B3,
|
|
|
|
KC_WWW_SEARCH = 0x00B4,
|
|
|
|
KC_WWW_HOME = 0x00B5,
|
|
|
|
KC_WWW_BACK = 0x00B6,
|
|
|
|
KC_WWW_FORWARD = 0x00B7,
|
|
|
|
KC_WWW_STOP = 0x00B8,
|
|
|
|
KC_WWW_REFRESH = 0x00B9,
|
|
|
|
KC_WWW_FAVORITES = 0x00BA,
|
|
|
|
KC_MEDIA_FAST_FORWARD = 0x00BB,
|
|
|
|
KC_MEDIA_REWIND = 0x00BC,
|
|
|
|
KC_BRIGHTNESS_UP = 0x00BD,
|
|
|
|
KC_BRIGHTNESS_DOWN = 0x00BE,
|
|
|
|
KC_CONTROL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IC_UNSWAP_CONTROL_CAPSLOCK = 0x7001,
|
|
|
|
MAGIC_TOGGLE_CONTROL_CAPSLOCK = 0x7002,
|
|
|
|
MAGIC_UNCAPSLOCK_TO_CONTROL = 0x7003,
|
|
|
|
MAGIC_CAPSLOCK_TO_CONTROL = 0x7004,
|
|
|
|
MAGIC_SWAP_LALT_LGUI = 0x7005,
|
|
|
|
MAGIC_UNSWAP_LALT_LGUI = 0x7006,
|
|
|
|
MAGIC_SWAP_RALT_RGUI = 0x7007,
|
|
|
|
MAGIC_UNSWAP_RALT_RGUI = 0x7008,
|
|
|
|
MAGIC_UNNO_GUI = 0x7009,
|
|
|
|
MAGIC_NO_GUI = 0x700A,
|
|
|
|
MAGIC_TOGGLE_GUI = 0x700B,
|
|
|
|
MAGIC_SWAP_GRAVE_ESC = 0x700C,
|
|
|
|
MAGIC_UNSWAP_GRAVE_ESC = 0x700D,
|
|
|
|
MAGIC_SWAP_BACKSLASH_BACKSPACE = 0x700E,
|
|
|
|
MAGIC_UNSWAP_BACKSLASH_BACKSPACE = 0x700F,
|
|
|
|
MAGIC_TOGGLE_BACKSLASH_BACKSPACE = 0x7010,
|
|
|
|
MAGIC_HOST_NKRO = 0x7011,
|
|
|
|
MAGIC_UNHOST_NKRO = 0x7012,
|
|
|
|
MAGIC_TOGGLE_NKRO = 0x7013,
|
|
|
|
MAGIC_SWAP_ALT_GUI = 0x7014,
|
|
|
|
MAGIC_UNSWAP_ALT_GUI = 0x7015,
|
|
|
|
MAGIC_TOGGLE_ALT_GUI = 0x7016,
|
|
|
|
MAGIC_SWAP_LCTL_LGUI = 0x7017,
|
|
|
|
MAGIC_UNSWAP_LCTL_LGUI = 0x7018,
|
|
|
|
MAGIC_SWAP_RCTL_RGUI = 0x7019,
|
|
|
|
MAGIC_UNSWAP_RCTL_RGUI = 0x701A,
|
|
|
|
MAGIC_SWAP_CTL_GUI = 0x701B,
|
|
|
|
MAGIC_UNSWAP_CTL_GUI = 0x701C,
|
|
|
|
MAGIC_TOGGLE_CTL_GUI = 0x701D,
|
|
|
|
MAGIC_EE_HANDS_LEFT = 0x701E,
|
|
|
|
MAGIC_EE_HANDS_RIGHT = 0x701F,
|
|
|
|
MAGIC_SWAP_ESCAPE_CAPSLOCK = 0x7020,
|
|
|
|
MAGIC_UNSWAP_ESCAPE_CAPSLOCK = 0x7021,
|
|
|
|
MAGIC_TOGGLE_ESCAPE_CAPSLOCK = 0x7022,
|
Normalise MIDI keycodes (#18972)
* `MI_ON`, `MI_OFF`, `MI_TOG` -> `MI_TOGG`
* `MI_CH*`, `MI_CHU` -> `MI_CHNU`, `MI_CHD` -> `MI_CHND`
* `MI_VEL_*` -> `MI_VL*`, `MI_VELU`, `MI_VELD`
* `MI_TRNS_*` -> `MI_TR*`, `MI_TRNSU` -> `MI_TRSU`, `MI_TRNSD` -> `MI_TRSD`
* `MI_OCT_*` -> `MI_OC*`, `MI_OCTU`, `MI_OCTD`
* Misc controls
* Note keycodes
* Add legacy keycodes
* Regenerate keycodes
* Typo
2022-11-07 03:26:15 +01:00
|
|
|
QK_MIDI_ON = 0x7100,
|
|
|
|
QK_MIDI_OFF = 0x7101,
|
|
|
|
QK_MIDI_TOGGLE = 0x7102,
|
|
|
|
QK_MIDI_NOTE_C_0 = 0x7110,
|
|
|
|
QK_MIDI_NOTE_C_SHARP_0 = 0x7111,
|
|
|
|
QK_MIDI_NOTE_D_0 = 0x7112,
|
|
|
|
QK_MIDI_NOTE_D_SHARP_0 = 0x7113,
|
|
|
|
QK_MIDI_NOTE_E_0 = 0x7114,
|
|
|
|
QK_MIDI_NOTE_F_0 = 0x7115,
|
|
|
|
QK_MIDI_NOTE_F_SHARP_0 = 0x7116,
|
|
|
|
QK_MIDI_NOTE_G_0 = 0x7117,
|
|
|
|
QK_MIDI_NOTE_G_SHARP_0 = 0x7118,
|
|
|
|
QK_MIDI_NOTE_A_0 = 0x7119,
|
|
|
|
QK_MIDI_NOTE_A_SHARP_0 = 0x711A,
|
|
|
|
QK_MIDI_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B1,
|
|
|
|
QK_MIDI_ALL_NOTES_OFF = 0x71C0,
|
|
|
|
QK_MIDI_SUSTAIN = 0x71C1,
|
|
|
|
QK_MIDI_PORTAMENTO = 0x71C2,
|
|
|
|
QK_MIDI_SOSTENUTO = 0x71C3,
|
|
|
|
QK_MIDI_SOFT = 0x71C4,
|
|
|
|
QK_MIDI_LEGATO = 0x71C5,
|
|
|
|
QK_MIDI_MODULATION = 0x71C6,
|
|
|
|
QK_MIDI_MODULATION_SPEED_DOWN = 0x71C7,
|
|
|
|
QK_MIDI_MODULATION_SPEED_UP = 0x71C8,
|
|
|
|
QK_MIDI_PITCH_BEND_DOWN = 0x71C9,
|
|
|
|
QK_MIDI_PITCH_BEND_UP = 0x71CA,
|
2022-11-05 11:30:09 +01:00
|
|
|
SQ_ON = 0x7200,
|
|
|
|
SQ_OFF = 0x7201,
|
|
|
|
SQ_TOG = 0x7202,
|
|
|
|
SQ_TMPD = 0x7203,
|
|
|
|
SQ_TMPU = 0x7204,
|
|
|
|
SQ_RESD = 0x7205,
|
|
|
|
SQ_RESU = 0x7206,
|
|
|
|
SQ_SALL = 0x7207,
|
|
|
|
SQ_SCLR = 0x7208,
|
|
|
|
QK_JOYSTICK_BUTTON_0 = 0x7400,
|
|
|
|
QK_JOYSTICK_BUTTON_1 = 0x7401,
|
|
|
|
QK_JOYSTICK_BUTTON_2 = 0x7402,
|
|
|
|
QK_JOYSTICK_BUTTON_3 = 0x7403,
|
|
|
|
QK_JOYSTICK_BUTTON_4 = 0x7404,
|
|
|
|
QK_JOYSTICK_BUTTON_5 = 0x7405,
|
|
|
|
QK_JOYSTICK_BUTTON_6 = 0x7406,
|
|
|
|
QK_JOYSTICK_BUTTON_7 = 0x7407,
|
|
|
|
QK_JOYSTICK_BUTTON_8 = 0x7408,
|
|
|
|
QK_JOYSTICK_BUTTON_9 = 0x7409,
|
|
|
|
QK_JOYSTICK_BUTTON_10 = 0x740A,
|
|
|
|
QK_JOYSTICK_BUTTON_11 = 0x740B,
|
|
|
|
QK_JOYSTICK_BUTTON_12 = 0x740C,
|
|
|
|
QK_JOYSTICK_BUTTON_13 = 0x740D,
|
|
|
|
QK_JOYSTICK_BUTTON_14 = 0x740E,
|
|
|
|
QK_JOYSTICK_BUTTON_15 = 0x740F,
|
|
|
|
QK_JOYSTICK_BUTTON_16 = 0x7410,
|
|
|
|
QK_JOYSTICK_BUTTON_17 = 0x7411,
|
|
|
|
QK_JOYSTICK_BUTTON_18 = 0x7412,
|
|
|
|
QK_JOYSTICK_BUTTON_19 = 0x7413,
|
|
|
|
QK_JOYSTICK_BUTTON_20 = 0x7414,
|
|
|
|
QK_JOYSTICK_BUTTON_21 = 0x7415,
|
|
|
|
QK_JOYSTICK_BUTTON_22 = 0x7416,
|
|
|
|
QK_JOYSTICK_BUTTON_23 = 0x7417,
|
|
|
|
QK_JOYSTICK_BUTTON_24 = 0x7418,
|
|
|
|
QK_JOYSTICK_BUTTON_25 = 0x7419,
|
|
|
|
QK_JOYSTICK_BUTTON_26 = 0x741A,
|
|
|
|
QK_JOYSTICK_BUTTON_27 = 0x741B,
|
|
|
|
QK_JOYSTICK_BUTTON_28 = 0x741C,
|
|
|
|
QK_JOYSTICK_BUTTON_29 = 0x741D,
|
|
|
|
QK_JOYSTICK_BUTTON_30 = 0x741E,
|
|
|
|
QK_JOYSTICK_BUTTON_31 = 0x741F,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_1 = 0x7440,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_2 = 0x7441,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_3 = 0x7442,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_4 = 0x7443,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_5 = 0x7444,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_6 = 0x7445,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_7 = 0x7446,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_8 = 0x7447,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_9 = 0x7448,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_10 = 0x7449,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_11 = 0x744A,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_12 = 0x744B,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_13 = 0x744C,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_14 = 0x744D,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_15 = 0x744E,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_16 = 0x744F,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_17 = 0x7450,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_18 = 0x7451,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_19 = 0x7452,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_20 = 0x7453,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_21 = 0x7454,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_22 = 0x7455,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_23 = 0x7456,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_24 = 0x7457,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_25 = 0x7458,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_26 = 0x7459,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_27 = 0x745A,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_28 = 0x745B,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_29 = 0x745C,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_30 = 0x745D,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_31 = 0x745E,
|
|
|
|
QK_PROGRAMMABLE_BUTTON_32 = 0x745F,
|
2022-11-05 18:05:19 +01:00
|
|
|
QK_AUDIO_ON = 0x7480,
|
|
|
|
QK_AUDIO_OFF = 0x7481,
|
|
|
|
QK_AUDIO_TOGGLE = 0x7482,
|
|
|
|
QK_AUDIO_CLICKY_TOGGLE = 0x748A,
|
|
|
|
QK_AUDIO_CLICKY_ON = 0x748B,
|
|
|
|
QK_AUDIO_CLICKY_OFF = 0x748C,
|
|
|
|
QK_AUDIO_CLICKY_UP = 0x748D,
|
|
|
|
QK_AUDIO_CLICKY_DOWN = 0x748E,
|
|
|
|
QK_AUDIO_CLICKY_RESET = 0x748F,
|
|
|
|
QK_MUSIC_ON = 0x7490,
|
|
|
|
QK_MUSIC_OFF = 0x7491,
|
|
|
|
QK_MUSIC_TOGGLE = 0x7492,
|
|
|
|
QK_MUSIC_MODE_NEXT = 0x7493,
|
|
|
|
QK_AUDIO_VOICE_NEXT = 0x7494,
|
|
|
|
QK_AUDIO_VOICE_PREVIOUS = 0x7495,
|
2022-11-05 11:30:09 +01:00
|
|
|
QK_STENO_BOLT = 0x74F0,
|
|
|
|
QK_STENO_GEMINI = 0x74F1,
|
|
|
|
QK_STENO_COMB = 0x74F2,
|
|
|
|
QK_STENO_COMB_MAX = 0x74FC,
|
2022-11-05 13:22:11 +01:00
|
|
|
QK_MACRO_0 = 0x7700,
|
|
|
|
QK_MACRO_1 = 0x7701,
|
|
|
|
QK_MACRO_2 = 0x7702,
|
|
|
|
QK_MACRO_3 = 0x7703,
|
|
|
|
QK_MACRO_4 = 0x7704,
|
|
|
|
QK_MACRO_5 = 0x7705,
|
|
|
|
QK_MACRO_6 = 0x7706,
|
|
|
|
QK_MACRO_7 = 0x7707,
|
|
|
|
QK_MACRO_8 = 0x7708,
|
|
|
|
QK_MACRO_9 = 0x7709,
|
|
|
|
QK_MACRO_10 = 0x770A,
|
|
|
|
QK_MACRO_11 = 0x770B,
|
|
|
|
QK_MACRO_12 = 0x770C,
|
|
|
|
QK_MACRO_13 = 0x770D,
|
|
|
|
QK_MACRO_14 = 0x770E,
|
|
|
|
QK_MACRO_15 = 0x770F,
|
|
|
|
QK_MACRO_16 = 0x7710,
|
|
|
|
QK_MACRO_17 = 0x7711,
|
|
|
|
QK_MACRO_18 = 0x7712,
|
|
|
|
QK_MACRO_19 = 0x7713,
|
|
|
|
QK_MACRO_20 = 0x7714,
|
|
|
|
QK_MACRO_21 = 0x7715,
|
|
|
|
QK_MACRO_22 = 0x7716,
|
|
|
|
QK_MACRO_23 = 0x7717,
|
|
|
|
QK_MACRO_24 = 0x7718,
|
|
|
|
QK_MACRO_25 = 0x7719,
|
|
|
|
QK_MACRO_26 = 0x771A,
|
|
|
|
QK_MACRO_27 = 0x771B,
|
|
|
|
QK_MACRO_28 = 0x771C,
|
|
|
|
QK_MACRO_29 = 0x771D,
|
|
|
|
QK_MACRO_30 = 0x771E,
|
|
|
|
QK_MACRO_31 = 0x771F,
|
2022-11-05 22:11:59 +01:00
|
|
|
QK_BACKLIGHT_ON = 0x7800,
|
|
|
|
QK_BACKLIGHT_OFF = 0x7801,
|
|
|
|
QK_BACKLIGHT_TOGGLE = 0x7802,
|
|
|
|
QK_BACKLIGHT_DOWN = 0x7803,
|
|
|
|
QK_BACKLIGHT_UP = 0x7804,
|
|
|
|
QK_BACKLIGHT_STEP = 0x7805,
|
|
|
|
QK_BACKLIGHT_TOGGLE_BREATHING = 0x7806,
|
2022-11-05 11:30:09 +01:00
|
|
|
RGB_TOG = 0x7820,
|
|
|
|
RGB_MODE_FORWARD = 0x7821,
|
|
|
|
RGB_MODE_REVERSE = 0x7822,
|
|
|
|
RGB_HUI = 0x7823,
|
|
|
|
RGB_HUD = 0x7824,
|
|
|
|
RGB_SAI = 0x7825,
|
|
|
|
RGB_SAD = 0x7826,
|
|
|
|
RGB_VAI = 0x7827,
|
|
|
|
RGB_VAD = 0x7828,
|
|
|
|
RGB_SPI = 0x7829,
|
|
|
|
RGB_SPD = 0x782A,
|
|
|
|
RGB_MODE_PLAIN = 0x782B,
|
|
|
|
RGB_MODE_BREATHE = 0x782C,
|
|
|
|
RGB_MODE_RAINBOW = 0x782D,
|
|
|
|
RGB_MODE_SWIRL = 0x782E,
|
|
|
|
RGB_MODE_SNAKE = 0x782F,
|
|
|
|
RGB_MODE_KNIGHT = 0x7830,
|
|
|
|
RGB_MODE_XMAS = 0x7831,
|
|
|
|
RGB_MODE_GRADIENT = 0x7832,
|
|
|
|
RGB_MODE_RGBTEST = 0x7833,
|
|
|
|
RGB_MODE_TWINKLE = 0x7834,
|
|
|
|
QK_BOOTLOADER = 0x7C00,
|
|
|
|
QK_REBOOT = 0x7C01,
|
|
|
|
QK_DEBUG_TOGGLE = 0x7C02,
|
|
|
|
QK_CLEAR_EEPROM = 0x7C03,
|
|
|
|
QK_MAKE = 0x7C04,
|
|
|
|
QK_AUTO_SHIFT_DOWN = 0x7C10,
|
|
|
|
QK_AUTO_SHIFT_UP = 0x7C11,
|
|
|
|
QK_AUTO_SHIFT_REPORT = 0x7C12,
|
|
|
|
QK_AUTO_SHIFT_ON = 0x7C13,
|
|
|
|
QK_AUTO_SHIFT_OFF = 0x7C14,
|
|
|
|
QK_AUTO_SHIFT_TOGGLE = 0x7C15,
|
|
|
|
QK_GRAVE_ESCAPE = 0x7C16,
|
|
|
|
QK_VELOCIKEY_TOGGLE = 0x7C17,
|
|
|
|
QK_SPACE_CADET_LEFT_CTRL_PARENTHESIS_OPEN = 0x7C18,
|
|
|
|
QK_SPACE_CADET_RIGHT_CTRL_PARENTHESIS_CLOSE = 0x7C19,
|
|
|
|
QK_SPACE_CADET_LEFT_SHIFT_PARENTHESIS_OPEN = 0x7C1A,
|
|
|
|
QK_SPACE_CADET_RIGHT_SHIFT_PARENTHESIS_CLOSE = 0x7C1B,
|
|
|
|
QK_SPACE_CADET_LEFT_ALT_PARENTHESIS_OPEN = 0x7C1C,
|
|
|
|
QK_SPACE_CADET_RIGHT_ALT_PARENTHESIS_CLOSE = 0x7C1D,
|
|
|
|
QK_SPACE_CADET_RIGHT_SHIFT_ENTER = 0x7C1E,
|
|
|
|
OUT_AUTO = 0x7C20,
|
|
|
|
OUT_USB = 0x7C21,
|
|
|
|
OUT_BT = 0x7C22,
|
|
|
|
QK_UNICODE_MODE_NEXT = 0x7C30,
|
|
|
|
QK_UNICODE_MODE_PREVIOUS = 0x7C31,
|
|
|
|
QK_UNICODE_MODE_MACOS = 0x7C32,
|
|
|
|
QK_UNICODE_MODE_LINUX = 0x7C33,
|
|
|
|
QK_UNICODE_MODE_WINDOWS = 0x7C34,
|
|
|
|
QK_UNICODE_MODE_BSD = 0x7C35,
|
|
|
|
QK_UNICODE_MODE_WINCOMPOSE = 0x7C36,
|
|
|
|
QK_UNICODE_MODE_EMACS = 0x7C37,
|
|
|
|
HPT_ON = 0x7C40,
|
|
|
|
HPT_OFF = 0x7C41,
|
|
|
|
HPT_TOG = 0x7C42,
|
|
|
|
HPT_RST = 0x7C43,
|
|
|
|
HPT_FBK = 0x7C44,
|
|
|
|
HPT_BUZ = 0x7C45,
|
|
|
|
HPT_MODI = 0x7C46,
|
|
|
|
HPT_MODD = 0x7C47,
|
|
|
|
HPT_CONT = 0x7C48,
|
|
|
|
HPT_CONI = 0x7C49,
|
|
|
|
HPT_COND = 0x7C4A,
|
|
|
|
HPT_DWLI = 0x7C4B,
|
|
|
|
HPT_DWLD = 0x7C4C,
|
|
|
|
QK_COMBO_ON = 0x7C50,
|
|
|
|
QK_COMBO_OFF = 0x7C51,
|
|
|
|
QK_COMBO_TOGGLE = 0x7C52,
|
|
|
|
QK_DYNAMIC_MACRO_RECORD_START_1 = 0x7C53,
|
|
|
|
QK_DYNAMIC_MACRO_RECORD_START_2 = 0x7C54,
|
|
|
|
QK_DYNAMIC_MACRO_RECORD_STOP = 0x7C55,
|
|
|
|
QK_DYNAMIC_MACRO_PLAY_1 = 0x7C56,
|
|
|
|
QK_DYNAMIC_MACRO_PLAY_2 = 0x7C57,
|
|
|
|
QK_LEADER = 0x7C58,
|
|
|
|
QK_LOCK = 0x7C59,
|
|
|
|
QK_ONE_SHOT_ON = 0x7C5A,
|
|
|
|
QK_ONE_SHOT_OFF = 0x7C5B,
|
|
|
|
QK_ONE_SHOT_TOGGLE = 0x7C5C,
|
|
|
|
QK_KEY_OVERRIDE_TOGGLE = 0x7C5D,
|
|
|
|
QK_KEY_OVERRIDE_ON = 0x7C5E,
|
|
|
|
QK_KEY_OVERRIDE_OFF = 0x7C5F,
|
|
|
|
QK_SECURE_LOCK = 0x7C60,
|
|
|
|
QK_SECURE_UNLOCK = 0x7C61,
|
|
|
|
QK_SECURE_TOGGLE = 0x7C62,
|
|
|
|
QK_SECURE_REQUEST = 0x7C63,
|
2022-11-05 17:58:30 +01:00
|
|
|
QK_DYNAMIC_TAPPING_TERM_PRINT = 0x7C70,
|
|
|
|
QK_DYNAMIC_TAPPING_TERM_UP = 0x7C71,
|
|
|
|
QK_DYNAMIC_TAPPING_TERM_DOWN = 0x7C72,
|
2022-11-05 14:15:55 +01:00
|
|
|
QK_CAPS_WORD_TOGGLE = 0x7C73,
|
|
|
|
QK_AUTOCORRECT_ON = 0x7C74,
|
|
|
|
QK_AUTOCORRECT_OFF = 0x7C75,
|
|
|
|
QK_AUTOCORRECT_TOGGLE = 0x7C76,
|
2022-11-05 11:30:09 +01:00
|
|
|
SAFE_RANGE = 0x7E00,
|
|
|
|
|
|
|
|
// Alias
|
|
|
|
XXXXXXX = KC_NO,
|
|
|
|
_______ = KC_TRANSPARENT,
|
|
|
|
KC_TRNS = KC_TRANSPARENT,
|
|
|
|
KC_ENT = KC_ENTER,
|
|
|
|
KC_ESC = KC_ESCAPE,
|
|
|
|
KC_BSPC = KC_BACKSPACE,
|
|
|
|
KC_SPC = KC_SPACE,
|
|
|
|
KC_MINS = KC_MINUS,
|
|
|
|
KC_EQL = KC_EQUAL,
|
|
|
|
KC_LBRC = KC_LEFT_BRACKET,
|
|
|
|
KC_RBRC = KC_RIGHT_BRACKET,
|
|
|
|
KC_BSLS = KC_BACKSLASH,
|
|
|
|
KC_NUHS = KC_NONUS_HASH,
|
|
|
|
KC_SCLN = KC_SEMICOLON,
|
|
|
|
KC_QUOT = KC_QUOTE,
|
|
|
|
KC_GRV = KC_GRAVE,
|
|
|
|
KC_COMM = KC_COMMA,
|
|
|
|
KC_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_LOCKING_NUM_LOCK,
|
|
|
|
KC_LSCR = KC_LOCKING_SCROLL_LOCK,
|
|
|
|
KC_PCMM = KC_KP_COMMA,
|
|
|
|
KC_INT1 = KC_INTERNATIONAL_1,
|
|
|
|
KC_INT2 = KC_INTERNATIONAL_2,
|
|
|
|
KC_INT3 = KC_INTERNATIONAL_3,
|
|
|
|
KC_INT4 = KC_INTERNATIONAL_4,
|
|
|
|
KC_INT5 = KC_INTERNATIONAL_5,
|
|
|
|
KC_INT6 = KC_INTERNATIONAL_6,
|
|
|
|
KC_INT7 = KC_INTERNATIONAL_7,
|
|
|
|
KC_INT8 = KC_INTERNATIONAL_8,
|
|
|
|
KC_INT9 = KC_INTERNATIONAL_9,
|
|
|
|
KC_LNG1 = KC_LANGUAGE_1,
|
|
|
|
KC_LNG2 = KC_LANGUAGE_2,
|
|
|
|
KC_LNG3 = KC_LANGUAGE_3,
|
|
|
|
KC_LNG4 = KC_LANGUAGE_4,
|
|
|
|
KC_LNG5 = KC_LANGUAGE_5,
|
|
|
|
KC_LNG6 = KC_LANGUAGE_6,
|
|
|
|
KC_LNG7 = KC_LANGUAGE_7,
|
|
|
|
KC_LNG8 = KC_LANGUAGE_8,
|
|
|
|
KC_LNG9 = KC_LANGUAGE_9,
|
|
|
|
KC_ERAS = KC_ALTERNATE_ERASE,
|
|
|
|
KC_SYRQ = KC_SYSTEM_REQUEST,
|
|
|
|
KC_CNCL = KC_CANCEL,
|
|
|
|
KC_CLR = KC_CLEAR,
|
|
|
|
KC_PRIR = KC_PRIOR,
|
|
|
|
KC_RETN = KC_RETURN,
|
|
|
|
KC_SEPR = KC_SEPARATOR,
|
|
|
|
KC_CLAG = KC_CLEAR_AGAIN,
|
|
|
|
KC_CRSL = KC_CRSEL,
|
|
|
|
KC_EXSL = KC_EXSEL,
|
|
|
|
KC_PWR = KC_SYSTEM_POWER,
|
|
|
|
KC_SLEP = KC_SYSTEM_SLEEP,
|
|
|
|
KC_WAKE = KC_SYSTEM_WAKE,
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
|
|
|
EC_TOGG = MAGIC_TOGGLE_ESCAPE_CAPSLOCK,
|
Normalise MIDI keycodes (#18972)
* `MI_ON`, `MI_OFF`, `MI_TOG` -> `MI_TOGG`
* `MI_CH*`, `MI_CHU` -> `MI_CHNU`, `MI_CHD` -> `MI_CHND`
* `MI_VEL_*` -> `MI_VL*`, `MI_VELU`, `MI_VELD`
* `MI_TRNS_*` -> `MI_TR*`, `MI_TRNSU` -> `MI_TRSU`, `MI_TRNSD` -> `MI_TRSD`
* `MI_OCT_*` -> `MI_OC*`, `MI_OCTU`, `MI_OCTD`
* Misc controls
* Note keycodes
* Add legacy keycodes
* Regenerate keycodes
* Typo
2022-11-07 03:26:15 +01:00
|
|
|
MI_ON = QK_MIDI_ON,
|
|
|
|
MI_OFF = QK_MIDI_OFF,
|
|
|
|
MI_TOGG = QK_MIDI_TOGGLE,
|
|
|
|
MI_C = QK_MIDI_NOTE_C_0,
|
|
|
|
MI_Cs = QK_MIDI_NOTE_C_SHARP_0,
|
|
|
|
MI_Db = QK_MIDI_NOTE_C_SHARP_0,
|
|
|
|
MI_D = QK_MIDI_NOTE_D_0,
|
|
|
|
MI_Ds = QK_MIDI_NOTE_D_SHARP_0,
|
|
|
|
MI_Eb = QK_MIDI_NOTE_D_SHARP_0,
|
|
|
|
MI_E = QK_MIDI_NOTE_E_0,
|
|
|
|
MI_F = QK_MIDI_NOTE_F_0,
|
|
|
|
MI_Fs = QK_MIDI_NOTE_F_SHARP_0,
|
|
|
|
MI_Gb = QK_MIDI_NOTE_F_SHARP_0,
|
|
|
|
MI_G = QK_MIDI_NOTE_G_0,
|
|
|
|
MI_Gs = QK_MIDI_NOTE_G_SHARP_0,
|
|
|
|
MI_Ab = QK_MIDI_NOTE_G_SHARP_0,
|
|
|
|
MI_A = QK_MIDI_NOTE_A_0,
|
|
|
|
MI_As = QK_MIDI_NOTE_A_SHARP_0,
|
|
|
|
MI_Bb = QK_MIDI_NOTE_A_SHARP_0,
|
|
|
|
MI_B = QK_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
|
MI_CHND = QK_MIDI_CHANNEL_DOWN,
|
|
|
|
MI_CHNU = QK_MIDI_CHANNEL_UP,
|
|
|
|
MI_AOFF = QK_MIDI_ALL_NOTES_OFF,
|
|
|
|
MI_SUST = QK_MIDI_SUSTAIN,
|
|
|
|
MI_PORT = QK_MIDI_PORTAMENTO,
|
|
|
|
MI_SOST = QK_MIDI_SOSTENUTO,
|
|
|
|
MI_SOFT = QK_MIDI_SOFT,
|
|
|
|
MI_LEG = QK_MIDI_LEGATO,
|
|
|
|
MI_MOD = QK_MIDI_MODULATION,
|
|
|
|
MI_MODD = QK_MIDI_MODULATION_SPEED_DOWN,
|
|
|
|
MI_MODU = QK_MIDI_MODULATION_SPEED_UP,
|
|
|
|
MI_BNDD = QK_MIDI_PITCH_BEND_DOWN,
|
|
|
|
MI_BNDU = QK_MIDI_PITCH_BEND_UP,
|
2022-11-05 11:30:09 +01:00
|
|
|
JS_0 = QK_JOYSTICK_BUTTON_0,
|
|
|
|
JS_1 = QK_JOYSTICK_BUTTON_1,
|
|
|
|
JS_2 = QK_JOYSTICK_BUTTON_2,
|
|
|
|
JS_3 = QK_JOYSTICK_BUTTON_3,
|
|
|
|
JS_4 = QK_JOYSTICK_BUTTON_4,
|
|
|
|
JS_5 = QK_JOYSTICK_BUTTON_5,
|
|
|
|
JS_6 = QK_JOYSTICK_BUTTON_6,
|
|
|
|
JS_7 = QK_JOYSTICK_BUTTON_7,
|
|
|
|
JS_8 = QK_JOYSTICK_BUTTON_8,
|
|
|
|
JS_9 = QK_JOYSTICK_BUTTON_9,
|
|
|
|
JS_10 = QK_JOYSTICK_BUTTON_10,
|
|
|
|
JS_11 = QK_JOYSTICK_BUTTON_11,
|
|
|
|
JS_12 = QK_JOYSTICK_BUTTON_12,
|
|
|
|
JS_13 = QK_JOYSTICK_BUTTON_13,
|
|
|
|
JS_14 = QK_JOYSTICK_BUTTON_14,
|
|
|
|
JS_15 = QK_JOYSTICK_BUTTON_15,
|
|
|
|
JS_16 = QK_JOYSTICK_BUTTON_16,
|
|
|
|
JS_17 = QK_JOYSTICK_BUTTON_17,
|
|
|
|
JS_18 = QK_JOYSTICK_BUTTON_18,
|
|
|
|
JS_19 = QK_JOYSTICK_BUTTON_19,
|
|
|
|
JS_20 = QK_JOYSTICK_BUTTON_20,
|
|
|
|
JS_21 = QK_JOYSTICK_BUTTON_21,
|
|
|
|
JS_22 = QK_JOYSTICK_BUTTON_22,
|
|
|
|
JS_23 = QK_JOYSTICK_BUTTON_23,
|
|
|
|
JS_24 = QK_JOYSTICK_BUTTON_24,
|
|
|
|
JS_25 = QK_JOYSTICK_BUTTON_25,
|
|
|
|
JS_26 = QK_JOYSTICK_BUTTON_26,
|
|
|
|
JS_27 = QK_JOYSTICK_BUTTON_27,
|
|
|
|
JS_28 = QK_JOYSTICK_BUTTON_28,
|
|
|
|
JS_29 = QK_JOYSTICK_BUTTON_29,
|
|
|
|
JS_30 = QK_JOYSTICK_BUTTON_30,
|
|
|
|
JS_31 = QK_JOYSTICK_BUTTON_31,
|
|
|
|
PB_1 = QK_PROGRAMMABLE_BUTTON_1,
|
|
|
|
PB_2 = QK_PROGRAMMABLE_BUTTON_2,
|
|
|
|
PB_3 = QK_PROGRAMMABLE_BUTTON_3,
|
|
|
|
PB_4 = QK_PROGRAMMABLE_BUTTON_4,
|
|
|
|
PB_5 = QK_PROGRAMMABLE_BUTTON_5,
|
|
|
|
PB_6 = QK_PROGRAMMABLE_BUTTON_6,
|
|
|
|
PB_7 = QK_PROGRAMMABLE_BUTTON_7,
|
|
|
|
PB_8 = QK_PROGRAMMABLE_BUTTON_8,
|
|
|
|
PB_9 = QK_PROGRAMMABLE_BUTTON_9,
|
|
|
|
PB_10 = QK_PROGRAMMABLE_BUTTON_10,
|
|
|
|
PB_11 = QK_PROGRAMMABLE_BUTTON_11,
|
|
|
|
PB_12 = QK_PROGRAMMABLE_BUTTON_12,
|
|
|
|
PB_13 = QK_PROGRAMMABLE_BUTTON_13,
|
|
|
|
PB_14 = QK_PROGRAMMABLE_BUTTON_14,
|
|
|
|
PB_15 = QK_PROGRAMMABLE_BUTTON_15,
|
|
|
|
PB_16 = QK_PROGRAMMABLE_BUTTON_16,
|
|
|
|
PB_17 = QK_PROGRAMMABLE_BUTTON_17,
|
|
|
|
PB_18 = QK_PROGRAMMABLE_BUTTON_18,
|
|
|
|
PB_19 = QK_PROGRAMMABLE_BUTTON_19,
|
|
|
|
PB_20 = QK_PROGRAMMABLE_BUTTON_20,
|
|
|
|
PB_21 = QK_PROGRAMMABLE_BUTTON_21,
|
|
|
|
PB_22 = QK_PROGRAMMABLE_BUTTON_22,
|
|
|
|
PB_23 = QK_PROGRAMMABLE_BUTTON_23,
|
|
|
|
PB_24 = QK_PROGRAMMABLE_BUTTON_24,
|
|
|
|
PB_25 = QK_PROGRAMMABLE_BUTTON_25,
|
|
|
|
PB_26 = QK_PROGRAMMABLE_BUTTON_26,
|
|
|
|
PB_27 = QK_PROGRAMMABLE_BUTTON_27,
|
|
|
|
PB_28 = QK_PROGRAMMABLE_BUTTON_28,
|
|
|
|
PB_29 = QK_PROGRAMMABLE_BUTTON_29,
|
|
|
|
PB_30 = QK_PROGRAMMABLE_BUTTON_30,
|
|
|
|
PB_31 = QK_PROGRAMMABLE_BUTTON_31,
|
|
|
|
PB_32 = QK_PROGRAMMABLE_BUTTON_32,
|
2022-11-05 18:05:19 +01:00
|
|
|
AU_ON = QK_AUDIO_ON,
|
|
|
|
AU_OFF = QK_AUDIO_OFF,
|
|
|
|
AU_TOGG = QK_AUDIO_TOGGLE,
|
|
|
|
CK_TOGG = QK_AUDIO_CLICKY_TOGGLE,
|
|
|
|
CK_ON = QK_AUDIO_CLICKY_ON,
|
|
|
|
CK_OFF = QK_AUDIO_CLICKY_OFF,
|
|
|
|
CK_UP = QK_AUDIO_CLICKY_UP,
|
|
|
|
CK_DOWN = QK_AUDIO_CLICKY_DOWN,
|
|
|
|
CK_RST = QK_AUDIO_CLICKY_RESET,
|
|
|
|
MU_ON = QK_MUSIC_ON,
|
|
|
|
MU_OFF = QK_MUSIC_OFF,
|
|
|
|
MU_TOGG = QK_MUSIC_TOGGLE,
|
|
|
|
MU_NEXT = QK_MUSIC_MODE_NEXT,
|
|
|
|
AU_NEXT = QK_AUDIO_VOICE_NEXT,
|
|
|
|
AU_PREV = QK_AUDIO_VOICE_PREVIOUS,
|
2022-11-05 13:22:11 +01:00
|
|
|
MC_0 = QK_MACRO_0,
|
|
|
|
MC_1 = QK_MACRO_1,
|
|
|
|
MC_2 = QK_MACRO_2,
|
|
|
|
MC_3 = QK_MACRO_3,
|
|
|
|
MC_4 = QK_MACRO_4,
|
|
|
|
MC_5 = QK_MACRO_5,
|
|
|
|
MC_6 = QK_MACRO_6,
|
|
|
|
MC_7 = QK_MACRO_7,
|
|
|
|
MC_8 = QK_MACRO_8,
|
|
|
|
MC_9 = QK_MACRO_9,
|
|
|
|
MC_10 = QK_MACRO_10,
|
|
|
|
MC_11 = QK_MACRO_11,
|
|
|
|
MC_12 = QK_MACRO_12,
|
|
|
|
MC_13 = QK_MACRO_13,
|
|
|
|
MC_14 = QK_MACRO_14,
|
|
|
|
MC_15 = QK_MACRO_15,
|
|
|
|
MC_16 = QK_MACRO_16,
|
|
|
|
MC_17 = QK_MACRO_17,
|
|
|
|
MC_18 = QK_MACRO_18,
|
|
|
|
MC_19 = QK_MACRO_19,
|
|
|
|
MC_20 = QK_MACRO_20,
|
|
|
|
MC_21 = QK_MACRO_21,
|
|
|
|
MC_22 = QK_MACRO_22,
|
|
|
|
MC_23 = QK_MACRO_23,
|
|
|
|
MC_24 = QK_MACRO_24,
|
|
|
|
MC_25 = QK_MACRO_25,
|
|
|
|
MC_26 = QK_MACRO_26,
|
|
|
|
MC_27 = QK_MACRO_27,
|
|
|
|
MC_28 = QK_MACRO_28,
|
|
|
|
MC_29 = QK_MACRO_29,
|
|
|
|
MC_30 = QK_MACRO_30,
|
|
|
|
MC_31 = QK_MACRO_31,
|
2022-11-05 22:11:59 +01:00
|
|
|
BL_ON = QK_BACKLIGHT_ON,
|
|
|
|
BL_OFF = QK_BACKLIGHT_OFF,
|
|
|
|
BL_TOGG = QK_BACKLIGHT_TOGGLE,
|
|
|
|
BL_DOWN = QK_BACKLIGHT_DOWN,
|
|
|
|
BL_UP = QK_BACKLIGHT_UP,
|
|
|
|
BL_STEP = QK_BACKLIGHT_STEP,
|
|
|
|
BL_BRTG = QK_BACKLIGHT_TOGGLE_BREATHING,
|
2022-11-05 11:30:09 +01:00
|
|
|
RGB_MOD = RGB_MODE_FORWARD,
|
|
|
|
RGB_RMOD = RGB_MODE_REVERSE,
|
|
|
|
RGB_M_P = RGB_MODE_PLAIN,
|
|
|
|
RGB_M_B = RGB_MODE_BREATHE,
|
|
|
|
RGB_M_R = RGB_MODE_RAINBOW,
|
|
|
|
RGB_M_SW = RGB_MODE_SWIRL,
|
|
|
|
RGB_M_SN = RGB_MODE_SNAKE,
|
|
|
|
RGB_M_K = RGB_MODE_KNIGHT,
|
|
|
|
RGB_M_X = RGB_MODE_XMAS,
|
|
|
|
RGB_M_G = RGB_MODE_GRADIENT,
|
|
|
|
RGB_M_T = RGB_MODE_RGBTEST,
|
|
|
|
RGB_M_TW = RGB_MODE_TWINKLE,
|
|
|
|
QK_BOOT = QK_BOOTLOADER,
|
|
|
|
QK_RBT = QK_REBOOT,
|
|
|
|
DB_TOGG = QK_DEBUG_TOGGLE,
|
|
|
|
EE_CLR = QK_CLEAR_EEPROM,
|
|
|
|
AS_DOWN = QK_AUTO_SHIFT_DOWN,
|
|
|
|
AS_UP = QK_AUTO_SHIFT_UP,
|
|
|
|
AS_RPT = QK_AUTO_SHIFT_REPORT,
|
|
|
|
AS_ON = QK_AUTO_SHIFT_ON,
|
|
|
|
AS_OFF = QK_AUTO_SHIFT_OFF,
|
|
|
|
AS_TOGG = QK_AUTO_SHIFT_TOGGLE,
|
|
|
|
QK_GESC = QK_GRAVE_ESCAPE,
|
|
|
|
VK_TOGG = QK_VELOCIKEY_TOGGLE,
|
|
|
|
SC_LCPO = QK_SPACE_CADET_LEFT_CTRL_PARENTHESIS_OPEN,
|
|
|
|
SC_RCPC = QK_SPACE_CADET_RIGHT_CTRL_PARENTHESIS_CLOSE,
|
|
|
|
SC_LSPO = QK_SPACE_CADET_LEFT_SHIFT_PARENTHESIS_OPEN,
|
|
|
|
SC_RSPC = QK_SPACE_CADET_RIGHT_SHIFT_PARENTHESIS_CLOSE,
|
|
|
|
SC_LAPO = QK_SPACE_CADET_LEFT_ALT_PARENTHESIS_OPEN,
|
|
|
|
SC_RAPC = QK_SPACE_CADET_RIGHT_ALT_PARENTHESIS_CLOSE,
|
|
|
|
SC_SENT = QK_SPACE_CADET_RIGHT_SHIFT_ENTER,
|
|
|
|
UC_NEXT = QK_UNICODE_MODE_NEXT,
|
|
|
|
UC_PREV = QK_UNICODE_MODE_PREVIOUS,
|
|
|
|
UC_MAC = QK_UNICODE_MODE_MACOS,
|
|
|
|
UC_LINX = QK_UNICODE_MODE_LINUX,
|
|
|
|
UC_WIN = QK_UNICODE_MODE_WINDOWS,
|
|
|
|
UC_BSD = QK_UNICODE_MODE_BSD,
|
|
|
|
UC_WINC = QK_UNICODE_MODE_WINCOMPOSE,
|
|
|
|
UC_EMAC = QK_UNICODE_MODE_EMACS,
|
|
|
|
CM_ON = QK_COMBO_ON,
|
|
|
|
CM_OFF = QK_COMBO_OFF,
|
|
|
|
CM_TOGG = QK_COMBO_TOGGLE,
|
|
|
|
DM_REC1 = QK_DYNAMIC_MACRO_RECORD_START_1,
|
|
|
|
DM_REC2 = QK_DYNAMIC_MACRO_RECORD_START_2,
|
|
|
|
DM_RSTP = QK_DYNAMIC_MACRO_RECORD_STOP,
|
|
|
|
DM_PLY1 = QK_DYNAMIC_MACRO_PLAY_1,
|
|
|
|
DM_PLY2 = QK_DYNAMIC_MACRO_PLAY_2,
|
|
|
|
QK_LEAD = QK_LEADER,
|
|
|
|
OS_ON = QK_ONE_SHOT_ON,
|
|
|
|
OS_OFF = QK_ONE_SHOT_OFF,
|
|
|
|
OS_TOGG = QK_ONE_SHOT_TOGGLE,
|
|
|
|
KO_TOGG = QK_KEY_OVERRIDE_TOGGLE,
|
|
|
|
KO_ON = QK_KEY_OVERRIDE_ON,
|
|
|
|
KO_OFF = QK_KEY_OVERRIDE_OFF,
|
|
|
|
SE_LOCK = QK_SECURE_LOCK,
|
|
|
|
SE_UNLK = QK_SECURE_UNLOCK,
|
|
|
|
SE_TOGG = QK_SECURE_TOGGLE,
|
|
|
|
SE_REQ = QK_SECURE_REQUEST,
|
2022-11-05 17:58:30 +01:00
|
|
|
DT_PRNT = QK_DYNAMIC_TAPPING_TERM_PRINT,
|
|
|
|
DT_UP = QK_DYNAMIC_TAPPING_TERM_UP,
|
|
|
|
DT_DOWN = QK_DYNAMIC_TAPPING_TERM_DOWN,
|
2022-11-05 11:30:09 +01:00
|
|
|
CW_TOGG = QK_CAPS_WORD_TOGGLE,
|
|
|
|
AC_ON = QK_AUTOCORRECT_ON,
|
|
|
|
AC_OFF = QK_AUTOCORRECT_OFF,
|
|
|
|
AC_TOGG = QK_AUTOCORRECT_TOGGLE,
|
|
|
|
};
|
|
|
|
|
|
|
|
// Range Helpers
|
|
|
|
#define IS_QK_BASIC(code) ((code) >= QK_BASIC && (code) <= QK_BASIC_MAX)
|
|
|
|
#define IS_QK_MODS(code) ((code) >= QK_MODS && (code) <= QK_MODS_MAX)
|
|
|
|
#define IS_QK_MOD_TAP(code) ((code) >= QK_MOD_TAP && (code) <= QK_MOD_TAP_MAX)
|
|
|
|
#define IS_QK_LAYER_TAP(code) ((code) >= QK_LAYER_TAP && (code) <= QK_LAYER_TAP_MAX)
|
|
|
|
#define IS_QK_LAYER_MOD(code) ((code) >= QK_LAYER_MOD && (code) <= QK_LAYER_MOD_MAX)
|
|
|
|
#define IS_QK_TO(code) ((code) >= QK_TO && (code) <= QK_TO_MAX)
|
|
|
|
#define IS_QK_MOMENTARY(code) ((code) >= QK_MOMENTARY && (code) <= QK_MOMENTARY_MAX)
|
|
|
|
#define IS_QK_DEF_LAYER(code) ((code) >= QK_DEF_LAYER && (code) <= QK_DEF_LAYER_MAX)
|
|
|
|
#define IS_QK_TOGGLE_LAYER(code) ((code) >= QK_TOGGLE_LAYER && (code) <= QK_TOGGLE_LAYER_MAX)
|
|
|
|
#define IS_QK_ONE_SHOT_LAYER(code) ((code) >= QK_ONE_SHOT_LAYER && (code) <= QK_ONE_SHOT_LAYER_MAX)
|
|
|
|
#define IS_QK_ONE_SHOT_MOD(code) ((code) >= QK_ONE_SHOT_MOD && (code) <= QK_ONE_SHOT_MOD_MAX)
|
|
|
|
#define IS_QK_LAYER_TAP_TOGGLE(code) ((code) >= QK_LAYER_TAP_TOGGLE && (code) <= QK_LAYER_TAP_TOGGLE_MAX)
|
|
|
|
#define IS_QK_SWAP_HANDS(code) ((code) >= QK_SWAP_HANDS && (code) <= QK_SWAP_HANDS_MAX)
|
|
|
|
#define IS_QK_TAP_DANCE(code) ((code) >= QK_TAP_DANCE && (code) <= QK_TAP_DANCE_MAX)
|
|
|
|
#define IS_QK_MAGIC(code) ((code) >= QK_MAGIC && (code) <= QK_MAGIC_MAX)
|
|
|
|
#define IS_QK_MIDI(code) ((code) >= QK_MIDI && (code) <= QK_MIDI_MAX)
|
|
|
|
#define IS_QK_SEQUENCER(code) ((code) >= QK_SEQUENCER && (code) <= QK_SEQUENCER_MAX)
|
|
|
|
#define IS_QK_JOYSTICK(code) ((code) >= QK_JOYSTICK && (code) <= QK_JOYSTICK_MAX)
|
|
|
|
#define IS_QK_PROGRAMMABLE_BUTTON(code) ((code) >= QK_PROGRAMMABLE_BUTTON && (code) <= QK_PROGRAMMABLE_BUTTON_MAX)
|
|
|
|
#define IS_QK_AUDIO(code) ((code) >= QK_AUDIO && (code) <= QK_AUDIO_MAX)
|
|
|
|
#define IS_QK_STENO(code) ((code) >= QK_STENO && (code) <= QK_STENO_MAX)
|
|
|
|
#define IS_QK_MACRO(code) ((code) >= QK_MACRO && (code) <= QK_MACRO_MAX)
|
|
|
|
#define IS_QK_LIGHTING(code) ((code) >= QK_LIGHTING && (code) <= QK_LIGHTING_MAX)
|
|
|
|
#define IS_QK_QUANTUM(code) ((code) >= QK_QUANTUM && (code) <= QK_QUANTUM_MAX)
|
|
|
|
#define IS_QK_KB(code) ((code) >= QK_KB && (code) <= QK_KB_MAX)
|
|
|
|
#define IS_QK_USER(code) ((code) >= QK_USER && (code) <= QK_USER_MAX)
|
|
|
|
#define IS_QK_UNICODE(code) ((code) >= QK_UNICODE && (code) <= QK_UNICODE_MAX)
|
|
|
|
|
|
|
|
// Group Helpers
|
|
|
|
#define IS_INTERNAL_KEYCODE(code) ((code) >= KC_NO && (code) <= KC_TRANSPARENT)
|
|
|
|
#define IS_BASIC_KEYCODE(code) ((code) >= KC_A && (code) <= KC_EXSEL)
|
|
|
|
#define IS_SYSTEM_KEYCODE(code) ((code) >= KC_SYSTEM_POWER && (code) <= KC_SYSTEM_WAKE)
|
|
|
|
#define IS_MEDIA_KEYCODE(code) ((code) >= KC_AUDIO_MUTE && (code) <= KC_ASSISTANT)
|
|
|
|
#define IS_MOUSE_KEYCODE(code) ((code) >= KC_MS_UP && (code) <= KC_MS_ACCEL2)
|
|
|
|
#define IS_MODIFIERS_KEYCODE(code) ((code) >= KC_LEFT_CTRL && (code) <= KC_RIGHT_GUI)
|
|
|
|
#define IS_SWAP_HANDS_KEYCODE(code) ((code) >= SH_TG && (code) <= SH_OS)
|
|
|
|
#define IS_MAGIC_KEYCODE(code) ((code) >= MAGIC_SWAP_CONTROL_CAPSLOCK && (code) <= MAGIC_TOGGLE_ESCAPE_CAPSLOCK)
|
Normalise MIDI keycodes (#18972)
* `MI_ON`, `MI_OFF`, `MI_TOG` -> `MI_TOGG`
* `MI_CH*`, `MI_CHU` -> `MI_CHNU`, `MI_CHD` -> `MI_CHND`
* `MI_VEL_*` -> `MI_VL*`, `MI_VELU`, `MI_VELD`
* `MI_TRNS_*` -> `MI_TR*`, `MI_TRNSU` -> `MI_TRSU`, `MI_TRNSD` -> `MI_TRSD`
* `MI_OCT_*` -> `MI_OC*`, `MI_OCTU`, `MI_OCTD`
* Misc controls
* Note keycodes
* Add legacy keycodes
* Regenerate keycodes
* Typo
2022-11-07 03:26:15 +01:00
|
|
|
#define IS_MIDI_KEYCODE(code) ((code) >= QK_MIDI_ON && (code) <= QK_MIDI_PITCH_BEND_UP)
|
2022-11-05 11:30:09 +01:00
|
|
|
#define IS_SEQUENCER_KEYCODE(code) ((code) >= SQ_ON && (code) <= SQ_SCLR)
|
|
|
|
#define IS_JOYSTICK_KEYCODE(code) ((code) >= QK_JOYSTICK_BUTTON_0 && (code) <= QK_JOYSTICK_BUTTON_31)
|
|
|
|
#define IS_PROGRAMMABLE_BUTTON_KEYCODE(code) ((code) >= QK_PROGRAMMABLE_BUTTON_1 && (code) <= QK_PROGRAMMABLE_BUTTON_32)
|
2022-11-05 18:05:19 +01:00
|
|
|
#define IS_AUDIO_KEYCODE(code) ((code) >= QK_AUDIO_ON && (code) <= QK_AUDIO_VOICE_PREVIOUS)
|
2022-11-05 11:30:09 +01:00
|
|
|
#define IS_STENO_KEYCODE(code) ((code) >= QK_STENO_BOLT && (code) <= QK_STENO_COMB_MAX)
|
2022-11-05 13:22:11 +01:00
|
|
|
#define IS_MACRO_KEYCODE(code) ((code) >= QK_MACRO_0 && (code) <= QK_MACRO_31)
|
2022-11-05 22:11:59 +01:00
|
|
|
#define IS_BACKLIGHT_KEYCODE(code) ((code) >= QK_BACKLIGHT_ON && (code) <= QK_BACKLIGHT_TOGGLE_BREATHING)
|
2022-11-05 11:30:09 +01:00
|
|
|
#define IS_RGB_KEYCODE(code) ((code) >= RGB_TOG && (code) <= RGB_MODE_TWINKLE)
|
|
|
|
#define IS_QUANTUM_KEYCODE(code) ((code) >= QK_BOOTLOADER && (code) <= QK_AUTOCORRECT_TOGGLE)
|