From 34a90769c9b29a24e39f6c2ca06106033dcb755f Mon Sep 17 00:00:00 2001 From: tmk Date: Wed, 13 Oct 2010 22:13:41 +0900 Subject: ';' for Fn key: send ';' when key realease without using the layer --- tmk.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tmk.c') diff --git a/tmk.c b/tmk.c index b02efedd2b..7c678a7e9c 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; -- cgit v1.2.1