projects
/
tmk_firmware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77815a2
)
Change key_t to keypos_t - follow Hasu's style
author
Oleg Kostyuk
<cub.uanic@gmail.com>
Fri, 2 Jan 2015 22:12:17 +0000
(
00:12
+0200)
committer
Oleg Kostyuk
<cub.uanic@gmail.com>
Fri, 2 Jan 2015 22:12:17 +0000
(
00:12
+0200)
keyboard/ergodox/keymap.c
patch
|
blob
|
history
diff --git
a/keyboard/ergodox/keymap.c
b/keyboard/ergodox/keymap.c
index 048be0e888b62e42940105a3894dfc752c1fe00b..39713e5026ae4a1fb9d745a9ae02901f71ab85bc 100644
(file)
--- a/
keyboard/ergodox/keymap.c
+++ b/
keyboard/ergodox/keymap.c
@@
-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, key
pos
_t key)
{
if (layer < KEYMAPS_SIZE) {
return pgm_read_byte(&keymaps[(layer)][(key.row)][(key.col)]);