Skip to content

Commit

Permalink
Add tap_code16 function (qmk#4362)
Browse files Browse the repository at this point in the history
  • Loading branch information
vomindoraan authored and djthread committed Mar 17, 2019
1 parent 3b99b02 commit 658208e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions quantum/quantum.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 658208e

Please sign in to comment.