]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - hhkb/keymap.c
fixed hhkb to comply new API.
[max/tmk_keyboard.git] / hhkb / keymap.c
index d6acf4595af47ed8f7abaa0b7548e7040b55312d..78f1a7f75967d7692a01bbccbd036c64c3b4d5a7 100644 (file)
@@ -9,7 +9,7 @@
 #include "print.h"
 #include "debug.h"
 #include "util.h"
-#include "keymap_skel.h"
+#include "keymap.h"
 
 
 // Convert physical keyboard layout to matrix array.
@@ -193,9 +193,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 host_get_mods() == (BIT_LSHIFT | BIT_RSHIFT) || host_get_mods() == (BIT_LCTRL | BIT_RSHIFT);
-}