qmk

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.z3bra.org/qmk.git
Log | Files | Refs | Submodules | LICENSE

commit e4dfcf896ef641701564bec5ea1ea7aa81b072bd
parent 82c02d9b8d30cac7ab0b0d21e9d81c1a70df73c1
Author: Konstantin Đorđević <vomindoraan@gmail.com>
Date:   Tue, 27 Nov 2018 23:29:59 +0100

Add tap_code16 function (#4362)


Diffstat:
quantum/quantum.h | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git 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);