1
0
Fork 0

Change struct key_t

This commit is contained in:
tmk 2013-02-13 12:16:24 +09:00
parent 9bc82bf61c
commit c4421f585b
6 changed files with 9 additions and 15 deletions

View file

@ -58,7 +58,7 @@ __attribute__ ((weak))
action_t action_for_key(uint8_t layer, key_t key)
{
/* convert from legacy keycode to action */
uint8_t keycode = keymap_get_keycode(layer, key.pos.row, key.pos.col);
uint8_t keycode = keymap_get_keycode(layer, key.row, key.col);
action_t action;
switch (keycode) {
case KC_FN0 ... KC_FN31: