summaryrefslogtreecommitdiffstats
path: root/quantum/quantum_keycodes_legacy.h
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2022-11-07 02:43:53 +0000
committerGitHub <noreply@github.com>2022-11-07 02:43:53 +0000
commite4d2ba9a4d98a8ff7327156ff45cc6339cb40c95 (patch)
treecae998e12fb1c0e4f91b45446f695ffd75569da9 /quantum/quantum_keycodes_legacy.h
parent8b658dcc9a826b03fedb1ef2bfcc692f3e25da1b (diff)
Align haptic feedback keycode names (#18964)
Diffstat (limited to 'quantum/quantum_keycodes_legacy.h')
-rw-r--r--quantum/quantum_keycodes_legacy.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/quantum/quantum_keycodes_legacy.h b/quantum/quantum_keycodes_legacy.h
index 04bf687561..305b89a569 100644
--- a/quantum/quantum_keycodes_legacy.h
+++ b/quantum/quantum_keycodes_legacy.h
@@ -268,6 +268,20 @@
#define MI_BENDD QK_MIDI_PITCH_BEND_DOWN
#define MI_BENDU QK_MIDI_PITCH_BEND_UP
+#define HPT_ON QK_HAPTIC_ON
+#define HPT_OFF QK_HAPTIC_OFF
+#define HPT_TOG QK_HAPTIC_TOGGLE
+#define HPT_RST QK_HAPTIC_RESET
+#define HPT_FBK QK_HAPTIC_FEEDBACK_TOGGLE
+#define HPT_BUZ QK_HAPTIC_BUZZ_TOGGLE
+#define HPT_MODI QK_HAPTIC_MODE_NEXT
+#define HPT_MODD QK_HAPTIC_MODE_PREVIOUS
+#define HPT_CONT QK_HAPTIC_CONTINUOUS_TOGGLE
+#define HPT_CONI QK_HAPTIC_CONTINUOUS_UP
+#define HPT_COND QK_HAPTIC_CONTINUOUS_DOWN
+#define HPT_DWLI QK_HAPTIC_DWELL_UP
+#define HPT_DWLD QK_HAPTIC_DWELL_DOWN
+
#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.")