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 | |
parent | 82c02d9b8d30cac7ab0b0d21e9d81c1a70df73c1 (diff) | |
download | qmk_firmware-e4dfcf896ef641701564bec5ea1ea7aa81b072bd.tar.gz |
Add tap_code16 function (#4362)
-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); 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); |