summaryrefslogtreecommitdiff
path: root/hhkb/keymap.c
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2011-02-22 01:21:53 +0900
committertmk <nobody@nowhere>2011-02-22 03:09:23 +0900
commitd2b9489a5e19fabb5d6ec285192b19dc25b36d5e (patch)
treeee312006103ccf8f6e18a54e9bca920700d0100d /hhkb/keymap.c
parent60052acc0fe3e6429f5c1d24073b1f6af019bd19 (diff)
fixed hhkb to comply new API.
Diffstat (limited to 'hhkb/keymap.c')
-rw-r--r--hhkb/keymap.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/hhkb/keymap.c b/hhkb/keymap.c
index d6acf4595a..78f1a7f759 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);
-}