From 60052acc0fe3e6429f5c1d24073b1f6af019bd19 Mon Sep 17 00:00:00 2001 From: tmk Date: Mon, 21 Feb 2011 23:46:08 +0900 Subject: fixed macway to comply new API. --- macway/keymap.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'macway/keymap.c') diff --git a/macway/keymap.c b/macway/keymap.c index f26267fd04..610d62cb8a 100644 --- a/macway/keymap.c +++ b/macway/keymap.c @@ -4,12 +4,11 @@ #include #include #include -#include "usb_keyboard.h" #include "usb_keycodes.h" #include "print.h" #include "debug.h" #include "util.h" -#include "keymap_skel.h" +#include "keymap.h" // Convert physical keyboard layout to matrix array. @@ -177,9 +176,3 @@ uint8_t keymap_fn_keycode(uint8_t fn_bits) { return pgm_read_byte(&fn_keycode[(biton(fn_bits))]); } - -// define a condition to enter special function mode -bool keymap_is_special_mode(uint8_t fn_bits) -{ - return usb_keyboard_mods == (BIT_LSHIFT | BIT_RSHIFT); -} -- cgit v1.2.1