summaryrefslogtreecommitdiff
path: root/keyboard/hhkb
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2014-06-25 13:50:51 +0900
committertmk <nobody@nowhere>2014-07-30 14:38:25 +0900
commitea60dae6e69bd3b120f2f702aeea691cb6d3d790 (patch)
treeb0409619e411c3673fd7a676ea3f8f36d7035f18 /keyboard/hhkb
parent54aee16a84eee27e816a89da5ca0dd3e9294cad9 (diff)
Fix for new API(key_t to keypos_t)
Diffstat (limited to 'keyboard/hhkb')
-rw-r--r--keyboard/hhkb/keymap_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboard/hhkb/keymap_common.c b/keyboard/hhkb/keymap_common.c
index 67b3db85d4..e938fb6270 100644
--- a/keyboard/hhkb/keymap_common.c
+++ b/keyboard/hhkb/keymap_common.c
@@ -21,7 +21,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* 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)
{
return pgm_read_byte(&keymaps[(layer)][(key.row)][(key.col)]);
}