diff options
| author | Konstantin Đorđević <vomindoraan@gmail.com> | 2018-11-27 23:29:59 +0100 |
|---|---|---|
| committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2018-11-27 14:29:59 -0800 |
| commit | e4dfcf896ef641701564bec5ea1ea7aa81b072bd (patch) | |
| tree | 804821ab4d0b087785297884b0233c439fbce366 /quantum/quantum.h | |
| parent | 82c02d9b8d30cac7ab0b0d21e9d81c1a70df73c1 (diff) | |
| download | qmk_firmware-e4dfcf896ef641701564bec5ea1ea7aa81b072bd.tar.gz qmk_firmware-e4dfcf896ef641701564bec5ea1ea7aa81b072bd.zip | |
Add tap_code16 function (#4362)
Diffstat (limited to 'quantum/quantum.h')
| -rw-r--r-- | quantum/quantum.h | 5 |
1 files changed, 3 insertions, 2 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); | |||
| 240 | void startup_user(void); | 240 | void startup_user(void); |
| 241 | void shutdown_user(void); | 241 | void shutdown_user(void); |
| 242 | 242 | ||
| 243 | void register_code16 (uint16_t code); | 243 | void register_code16(uint16_t code); |
| 244 | void unregister_code16 (uint16_t code); | 244 | void unregister_code16(uint16_t code); |
| 245 | inline void tap_code16(uint16_t code) { register_code16(code); unregister_code16(code); } | ||
| 245 | 246 | ||
| 246 | #ifdef BACKLIGHT_ENABLE | 247 | #ifdef BACKLIGHT_ENABLE |
| 247 | void backlight_init_ports(void); | 248 | void backlight_init_ports(void); |
