]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
Change key_t to keypos_t - follow Hasu's style
authorOleg Kostyuk <cub.uanic@gmail.com>
Fri, 2 Jan 2015 22:12:17 +0000 (00:12 +0200)
committerOleg Kostyuk <cub.uanic@gmail.com>
Fri, 2 Jan 2015 22:12:17 +0000 (00:12 +0200)
keyboard/ergodox/keymap.c

index 048be0e888b62e42940105a3894dfc752c1fe00b..39713e5026ae4a1fb9d745a9ae02901f71ab85bc 100644 (file)
@@ -208,7 +208,7 @@ void action_function(keyrecord_t *event, uint8_t id, uint8_t opt)
 #define FN_ACTIONS_SIZE (sizeof(fn_actions) / sizeof(fn_actions[0]))
 
 /* translates key to keycode */
-uint8_t keymap_key_to_keycode(uint8_t layer, key_t key)
+uint8_t keymap_key_to_keycode(uint8_t layer, keypos_t key)
 {
     if (layer < KEYMAPS_SIZE) {
         return pgm_read_byte(&keymaps[(layer)][(key.row)][(key.col)]);