diff options
Diffstat (limited to 'quantum/quantum.c')
| -rw-r--r-- | quantum/quantum.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index 69692233e..a57d4f89f 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c | |||
| @@ -132,6 +132,14 @@ void unregister_code16 (uint16_t code) { | |||
| 132 | } | 132 | } |
| 133 | } | 133 | } |
| 134 | 134 | ||
| 135 | void tap_code16(uint16_t code) { | ||
| 136 | register_code16(code); | ||
| 137 | #if TAP_CODE_DELAY > 0 | ||
| 138 | wait_ms(TAP_CODE_DELAY); | ||
| 139 | #endif | ||
| 140 | unregister_code16(code); | ||
| 141 | } | ||
| 142 | |||
| 135 | __attribute__ ((weak)) | 143 | __attribute__ ((weak)) |
| 136 | bool process_action_kb(keyrecord_t *record) { | 144 | bool process_action_kb(keyrecord_t *record) { |
| 137 | return true; | 145 | return true; |
