Fix waiting_keys and periodical update for delaying layer.

This commit is contained in:
tmk committed 2013-01-15 00:55:16 +09:00
1 parent 32633a42c7
commit f609712da3
4 files changed
+90 -151

No files matched your search

+8 -1
View File
@@ -78,7 +78,14 @@ void keyboard_task(void)
}
}
}
MATRIX_LOOP_END:
// call to update delaying layer when no real event
action_exec((keyevent_t) {
.key = (keypos_t){ .row = 255, .col = 255 }, // assume this key doesn't exist
.pressed = false,
.time = 0,
});
MATRIX_LOOP_END:
#ifdef MOUSEKEY_ENABLE
// mousekey repeat & acceleration