1
0
Fork 0

Port action_* to mbed

This commit is contained in:
tmk 2014-06-17 00:57:59 +09:00
parent 04fe78ee0a
commit c67ae2a6b5
21 changed files with 92 additions and 64 deletions

View file

@ -100,7 +100,7 @@ void keyboard_task(void)
for (uint8_t c = 0; c < MATRIX_COLS; c++) {
if (matrix_change & ((matrix_row_t)1<<c)) {
action_exec((keyevent_t){
.key = (key_t){ .row = r, .col = c },
.key = (keypos_t){ .row = r, .col = c },
.pressed = (matrix_row & ((matrix_row_t)1<<c)),
.time = (timer_read() | 1) /* time should not be 0 */
});