diff options
| author | tmk <nobody@nowhere> | 2013-01-15 00:06:52 +0900 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2013-01-15 00:55:16 +0900 |
| commit | f609712da3b94ea36612a6f210bd6ce902b74631 (patch) | |
| tree | 8fe37ac58b1fabf1d960cfe091c118b06ff2f00e /common/keyboard.c | |
| parent | 32633a42c74c65462370ef4a39a44a5784a98a06 (diff) | |
| download | qmk_firmware-f609712da3b94ea36612a6f210bd6ce902b74631.tar.gz qmk_firmware-f609712da3b94ea36612a6f210bd6ce902b74631.zip | |
Fix waiting_keys and periodical update for delaying layer.
Diffstat (limited to 'common/keyboard.c')
| -rw-r--r-- | common/keyboard.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/common/keyboard.c b/common/keyboard.c index 4e955e129..2e32e91e0 100644 --- a/common/keyboard.c +++ b/common/keyboard.c | |||
| @@ -78,7 +78,14 @@ void keyboard_task(void) | |||
| 78 | } | 78 | } |
| 79 | } | 79 | } |
| 80 | } | 80 | } |
| 81 | MATRIX_LOOP_END: | 81 | // call to update delaying layer when no real event |
| 82 | action_exec((keyevent_t) { | ||
| 83 | .key = (keypos_t){ .row = 255, .col = 255 }, // assume this key doesn't exist | ||
| 84 | .pressed = false, | ||
| 85 | .time = 0, | ||
| 86 | }); | ||
| 87 | |||
| 88 | MATRIX_LOOP_END: | ||
| 82 | 89 | ||
| 83 | #ifdef MOUSEKEY_ENABLE | 90 | #ifdef MOUSEKEY_ENABLE |
| 84 | // mousekey repeat & acceleration | 91 | // mousekey repeat & acceleration |
