diff options
| author | tmk <nobody@nowhere> | 2013-01-13 10:24:20 +0900 |
|---|---|---|
| committer | tmk <nobody@nowhere> | 2013-01-13 10:24:20 +0900 |
| commit | 32633a42c74c65462370ef4a39a44a5784a98a06 (patch) | |
| tree | 8bbc2fc62bcb06c9ea897507a4000b7336d1a6eb /common/keyboard.c | |
| parent | 411de9cc22e927313a5a768f3bf41f2f99bca126 (diff) | |
| download | qmk_firmware-32633a42c74c65462370ef4a39a44a5784a98a06.tar.gz qmk_firmware-32633a42c74c65462370ef4a39a44a5784a98a06.zip | |
Fix tap key using delaying_layer and waiting_key.
Diffstat (limited to 'common/keyboard.c')
| -rw-r--r-- | common/keyboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/keyboard.c b/common/keyboard.c index 1e0b8c3ed..4e955e129 100644 --- a/common/keyboard.c +++ b/common/keyboard.c | |||
| @@ -68,7 +68,7 @@ void keyboard_task(void) | |||
| 68 | action_exec((keyevent_t){ | 68 | action_exec((keyevent_t){ |
| 69 | .key = (keypos_t){ .row = r, .col = c }, | 69 | .key = (keypos_t){ .row = r, .col = c }, |
| 70 | .pressed = (matrix_row & (1<<c)), | 70 | .pressed = (matrix_row & (1<<c)), |
| 71 | .time = timer_read() | 71 | .time = (timer_read() | 1) /* NOTE: 0 means no event */ |
| 72 | }); | 72 | }); |
| 73 | // record a processed key | 73 | // record a processed key |
| 74 | matrix_prev[r] ^= (1<<c); | 74 | matrix_prev[r] ^= (1<<c); |
