qmk_firmware/quantum/quantum_keycodes_legacy.h
Ryan 812001de7f
Deprecate ONESHOT_* keycodes for QK_ONE_SHOT_* (#18844)
* Deprecate `ONESHOT_*` keycodes for `QK_ONE_SHOT_*`

* Docs
2022-10-25 17:50:22 +01:00

89 lines
3.9 KiB
C

#pragma once
// clang-format off
// Deprecated Quantum keycodes
#define KC_LEAD QK_LEADER
#define KC_LOCK QK_LOCK
#define VLK_TOG QK_VELOCIKEY_TOGGLE
#define CAPSWRD QK_CAPS_WORD_TOGGLE
#define CAPS_WORD QK_CAPS_WORD_TOGGLE
#define KEY_OVERRIDE_TOGGLE QK_KEY_OVERRIDE_TOGGLE
#define KEY_OVERRIDE_ON QK_KEY_OVERRIDE_ON
#define KEY_OVERRIDE_OFF QK_KEY_OVERRIDE_OFF
#define ONESHOT_ENABLE QK_ONE_SHOT_ON
#define ONESHOT_DISABLE QK_ONE_SHOT_OFF
#define ONESHOT_TOGGLE QK_ONE_SHOT_TOGGLE
#define PROGRAMMABLE_BUTTON_1 QK_PROGRAMMABLE_BUTTON_1
#define PROGRAMMABLE_BUTTON_2 QK_PROGRAMMABLE_BUTTON_2
#define PROGRAMMABLE_BUTTON_3 QK_PROGRAMMABLE_BUTTON_3
#define PROGRAMMABLE_BUTTON_4 QK_PROGRAMMABLE_BUTTON_4
#define PROGRAMMABLE_BUTTON_5 QK_PROGRAMMABLE_BUTTON_5
#define PROGRAMMABLE_BUTTON_6 QK_PROGRAMMABLE_BUTTON_6
#define PROGRAMMABLE_BUTTON_7 QK_PROGRAMMABLE_BUTTON_7
#define PROGRAMMABLE_BUTTON_8 QK_PROGRAMMABLE_BUTTON_8
#define PROGRAMMABLE_BUTTON_9 QK_PROGRAMMABLE_BUTTON_9
#define PROGRAMMABLE_BUTTON_10 QK_PROGRAMMABLE_BUTTON_10
#define PROGRAMMABLE_BUTTON_11 QK_PROGRAMMABLE_BUTTON_11
#define PROGRAMMABLE_BUTTON_12 QK_PROGRAMMABLE_BUTTON_12
#define PROGRAMMABLE_BUTTON_13 QK_PROGRAMMABLE_BUTTON_13
#define PROGRAMMABLE_BUTTON_14 QK_PROGRAMMABLE_BUTTON_14
#define PROGRAMMABLE_BUTTON_15 QK_PROGRAMMABLE_BUTTON_15
#define PROGRAMMABLE_BUTTON_16 QK_PROGRAMMABLE_BUTTON_16
#define PROGRAMMABLE_BUTTON_17 QK_PROGRAMMABLE_BUTTON_17
#define PROGRAMMABLE_BUTTON_18 QK_PROGRAMMABLE_BUTTON_18
#define PROGRAMMABLE_BUTTON_19 QK_PROGRAMMABLE_BUTTON_19
#define PROGRAMMABLE_BUTTON_20 QK_PROGRAMMABLE_BUTTON_20
#define PROGRAMMABLE_BUTTON_21 QK_PROGRAMMABLE_BUTTON_21
#define PROGRAMMABLE_BUTTON_22 QK_PROGRAMMABLE_BUTTON_22
#define PROGRAMMABLE_BUTTON_23 QK_PROGRAMMABLE_BUTTON_23
#define PROGRAMMABLE_BUTTON_24 QK_PROGRAMMABLE_BUTTON_24
#define PROGRAMMABLE_BUTTON_25 QK_PROGRAMMABLE_BUTTON_25
#define PROGRAMMABLE_BUTTON_26 QK_PROGRAMMABLE_BUTTON_26
#define PROGRAMMABLE_BUTTON_27 QK_PROGRAMMABLE_BUTTON_27
#define PROGRAMMABLE_BUTTON_28 QK_PROGRAMMABLE_BUTTON_28
#define PROGRAMMABLE_BUTTON_29 QK_PROGRAMMABLE_BUTTON_29
#define PROGRAMMABLE_BUTTON_30 QK_PROGRAMMABLE_BUTTON_30
#define PROGRAMMABLE_BUTTON_31 QK_PROGRAMMABLE_BUTTON_31
#define PROGRAMMABLE_BUTTON_32 QK_PROGRAMMABLE_BUTTON_32
#define JS_BUTTON0 QK_JOYSTICK_BUTTON_0
#define JS_BUTTON1 QK_JOYSTICK_BUTTON_1
#define JS_BUTTON2 QK_JOYSTICK_BUTTON_2
#define JS_BUTTON3 QK_JOYSTICK_BUTTON_3
#define JS_BUTTON4 QK_JOYSTICK_BUTTON_4
#define JS_BUTTON5 QK_JOYSTICK_BUTTON_5
#define JS_BUTTON6 QK_JOYSTICK_BUTTON_6
#define JS_BUTTON7 QK_JOYSTICK_BUTTON_7
#define JS_BUTTON8 QK_JOYSTICK_BUTTON_8
#define JS_BUTTON9 QK_JOYSTICK_BUTTON_9
#define JS_BUTTON10 QK_JOYSTICK_BUTTON_10
#define JS_BUTTON11 QK_JOYSTICK_BUTTON_11
#define JS_BUTTON12 QK_JOYSTICK_BUTTON_12
#define JS_BUTTON13 QK_JOYSTICK_BUTTON_13
#define JS_BUTTON14 QK_JOYSTICK_BUTTON_14
#define JS_BUTTON15 QK_JOYSTICK_BUTTON_15
#define JS_BUTTON16 QK_JOYSTICK_BUTTON_16
#define JS_BUTTON17 QK_JOYSTICK_BUTTON_17
#define JS_BUTTON18 QK_JOYSTICK_BUTTON_18
#define JS_BUTTON19 QK_JOYSTICK_BUTTON_19
#define JS_BUTTON20 QK_JOYSTICK_BUTTON_20
#define JS_BUTTON21 QK_JOYSTICK_BUTTON_21
#define JS_BUTTON22 QK_JOYSTICK_BUTTON_22
#define JS_BUTTON23 QK_JOYSTICK_BUTTON_23
#define JS_BUTTON24 QK_JOYSTICK_BUTTON_24
#define JS_BUTTON25 QK_JOYSTICK_BUTTON_25
#define JS_BUTTON26 QK_JOYSTICK_BUTTON_26
#define JS_BUTTON27 QK_JOYSTICK_BUTTON_27
#define JS_BUTTON28 QK_JOYSTICK_BUTTON_28
#define JS_BUTTON29 QK_JOYSTICK_BUTTON_29
#define JS_BUTTON30 QK_JOYSTICK_BUTTON_30
#define JS_BUTTON31 QK_JOYSTICK_BUTTON_31
#define TERM_ON _Static_assert(false, "The Terminal feature has been removed from QMK. Please remove use of TERM_ON/TERM_OFF from your keymap.")
#define TERM_OFF _Static_assert(false, "The Terminal feature has been removed from QMK.. Please remove use of TERM_ON/TERM_OFF from your keymap.")
// #define RESET _Static_assert(false, "The RESET keycode has been removed from QMK.. Please remove use from your keymap.")