1
0
Fork 0

Fix waiting_keys and periodical update for delaying layer.

This commit is contained in:
tmk 2013-01-15 00:06:52 +09:00
parent 32633a42c7
commit f609712da3
4 changed files with 90 additions and 151 deletions

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