X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;ds=sidebyside;f=hhkb%2Fkeymap.c;h=78f1a7f75967d7692a01bbccbd036c64c3b4d5a7;hb=d2b9489a5e19fabb5d6ec285192b19dc25b36d5e;hp=d6acf4595af47ed8f7abaa0b7548e7040b55312d;hpb=3015f191a5d9268cb5ca7a0256597d3d76f4d200;p=max%2Ftmk_keyboard.git diff --git a/hhkb/keymap.c b/hhkb/keymap.c index d6acf459..78f1a7f7 100644 --- a/hhkb/keymap.c +++ b/hhkb/keymap.c @@ -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); -}