diff options
author | tmk <nobody@nowhere> | 2010-10-13 22:13:41 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2010-10-13 22:13:41 +0900 |
commit | 34a90769c9b29a24e39f6c2ca06106033dcb755f (patch) | |
tree | 22890f5939b52e94dd1bc41b14c88445ab9634c6 /tmk.c | |
parent | ba2f31e2cd2ff9ce3a7c433632aff8312ce18014 (diff) | |
download | qmk_firmware-34a90769c9b29a24e39f6c2ca06106033dcb755f.tar.gz |
';' for Fn key: send ';' when key realease without using the layer
Diffstat (limited to 'tmk.c')
-rw-r--r-- | tmk.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -176,6 +176,7 @@ int main(void) if (mouse_x || mouse_y || mouse_wheel || mouse_hwheel || mouse_btn != mouse_buttons) { mouse_buttons = mouse_btn; usb_mouse_move(mouse_x, mouse_y, mouse_wheel, mouse_hwheel); + key_sent = true; // acceleration _delay_ms(MOUSE_DELAY_MS >> (mouse_repeat < MOUSE_DELAY_ACC ? mouse_repeat : MOUSE_DELAY_ACC)); @@ -191,6 +192,8 @@ int main(void) //Rollover } usb_keyboard_send(); + if (keyboard_keys[0]) + key_sent = true; // LED flash for debug LED_CONFIG; |