From e2077cad45f1736e878e317c43bd94117c61b5e0 Mon Sep 17 00:00:00 2001 From: tmk Date: Mon, 24 Nov 2014 15:14:52 +0900 Subject: Change key_t to keypos_t --- converter/m0110_usb/keymap.c | 2 +- converter/m0110_usb/keymap_common.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'converter/m0110_usb') diff --git a/converter/m0110_usb/keymap.c b/converter/m0110_usb/keymap.c index 031c881b72..4570dd2832 100644 --- a/converter/m0110_usb/keymap.c +++ b/converter/m0110_usb/keymap.c @@ -209,7 +209,7 @@ static const uint16_t fn_actions[] PROGMEM = { /* 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)]); } diff --git a/converter/m0110_usb/keymap_common.c b/converter/m0110_usb/keymap_common.c index bad18c91a8..4ac2d71783 100644 --- a/converter/m0110_usb/keymap_common.c +++ b/converter/m0110_usb/keymap_common.c @@ -23,7 +23,7 @@ along with this program. If not, see . /* 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)]); } -- cgit v1.2.1