summaryrefslogtreecommitdiffstats
path: root/quantum
diff options
context:
space:
mode:
Diffstat (limited to 'quantum')
-rw-r--r--quantum/quantum.h5
-rw-r--r--quantum/quantum_keycodes.h1
2 files changed, 3 insertions, 3 deletions
diff --git a/quantum/quantum.h b/quantum/quantum.h
index fe670c8eb..41c7d8351 100644
--- a/quantum/quantum.h
+++ b/quantum/quantum.h
@@ -240,8 +240,9 @@ void reset_keyboard(void);
void startup_user(void);
void shutdown_user(void);
-void register_code16 (uint16_t code);
-void unregister_code16 (uint16_t code);
+void register_code16(uint16_t code);
+void unregister_code16(uint16_t code);
+inline void tap_code16(uint16_t code) { register_code16(code); unregister_code16(code); }
#ifdef BACKLIGHT_ENABLE
void backlight_init_ports(void);
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h
index 14f8c2b81..7670d53e9 100644
--- a/quantum/quantum_keycodes.h
+++ b/quantum/quantum_keycodes.h
@@ -581,7 +581,6 @@ enum quantum_keycodes {
#define CK_OFF CLICKY_DISABLE
#define RGB_MOD RGB_MODE_FORWARD
-#define RGB_SMOD RGB_MODE_FORWARD
#define RGB_RMOD RGB_MODE_REVERSE
#define RGB_M_P RGB_MODE_PLAIN