1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/quantum/quantum_keycodes_legacy.h

114 lines
4.8 KiB
C
Raw Normal View History

#pragma once
// clang-format off
// Deprecated Quantum keycodes
#define KC_LEAD QK_LEADER
#define KC_LOCK QK_LOCK
#define KC_ASUP QK_AUTO_SHIFT_UP
#define KC_ASDN QK_AUTO_SHIFT_DOWN
#define KC_ASRP QK_AUTO_SHIFT_REPORT
#define KC_ASTG QK_AUTO_SHIFT_TOGGLE
#define KC_ASON QK_AUTO_SHIFT_ON
#define KC_ASOFF QK_AUTO_SHIFT_OFF
#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
2022-10-27 14:59:58 +02:00
#define CMB_ON QK_COMBO_ON
#define CMB_OFF QK_COMBO_OFF
#define CMB_TOG QK_COMBO_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 SECURE_LOCK QK_SECURE_LOCK
#define SECURE_UNLOCK QK_SECURE_UNLOCK
#define SECURE_TOGGLE QK_SECURE_TOGGLE
#define SECURE_REQUEST QK_SECURE_REQUEST
#define KC_LSPO QK_SPACE_CADET_LEFT_SHIFT_PARENTHESIS_OPEN
#define KC_RSPC QK_SPACE_CADET_RIGHT_SHIFT_PARENTHESIS_CLOSE
#define KC_LCPO QK_SPACE_CADET_LEFT_CTRL_PARENTHESIS_OPEN
#define KC_RCPC QK_SPACE_CADET_RIGHT_CTRL_PARENTHESIS_CLOSE
#define KC_LAPO QK_SPACE_CADET_LEFT_ALT_PARENTHESIS_OPEN
#define KC_RAPC QK_SPACE_CADET_RIGHT_ALT_PARENTHESIS_CLOSE
#define KC_SFTENT QK_SPACE_CADET_RIGHT_SHIFT_ENTER
2022-05-31 07:38:08 +02:00
#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.")