aboutsummaryrefslogtreecommitdiffstats
path: root/tmk.c
diff options
context:
space:
mode:
authorGravatar tmk <nobody@nowhere>2010-10-13 22:13:41 +0900
committerGravatar tmk <nobody@nowhere>2010-10-13 22:13:41 +0900
commit34a90769c9b29a24e39f6c2ca06106033dcb755f (patch)
tree22890f5939b52e94dd1bc41b14c88445ab9634c6 /tmk.c
parentba2f31e2cd2ff9ce3a7c433632aff8312ce18014 (diff)
downloadqmk_firmware-34a90769c9b29a24e39f6c2ca06106033dcb755f.tar.gz
';' for Fn key: send ';' when key realease without using the layer
Diffstat (limited to 'tmk.c')
-rw-r--r--tmk.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmk.c b/tmk.c
index b02efedd2..7c678a7e9 100644
--- a/tmk.c
+++ b/tmk.c
@@ -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;