Add tap_code16 function (#4362)

This commit is contained in:
Konstantin Đorđević 2018-11-27 23:29:59 +01:00 committed by MechMerlin
parent 82c02d9b8d
commit e4dfcf896e

View File

@ -240,8 +240,9 @@ void reset_keyboard(void);
void startup_user(void); void startup_user(void);
void shutdown_user(void); void shutdown_user(void);
void register_code16 (uint16_t code); void register_code16(uint16_t code);
void unregister_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 #ifdef BACKLIGHT_ENABLE
void backlight_init_ports(void); void backlight_init_ports(void);