Change struct key_t

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

No files matched your search

+1 -1
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: