summaryrefslogtreecommitdiff
path: root/keymap_skel.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2010-10-24 01:17:26 +0900
committertmk <nobody@nowhere>2010-10-24 01:17:26 +0900
commit06eb50be07ff16e4bfb046e4773185d9bcf048e9 (patch)
tree86a8fb688282004893eedd28641f8300c9d812d1 /keymap_skel.h
parent9d7979931e0037fc5ddc77a2cb895eb055501f34 (diff)
hhkb: refactored
Diffstat (limited to 'keymap_skel.h')
-rw-r--r--keymap_skel.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/keymap_skel.h b/keymap_skel.h
new file mode 100644
index 0000000000..51906d36a2
--- /dev/null
+++ b/keymap_skel.h
@@ -0,0 +1,17 @@
+#ifndef KEYMAP_SKEL_H
+#define KEYMAP_SKEL_H 1
+
+#include <stdint.h>
+#include <stdbool.h>
+#include "usb_keycodes.h"
+
+
+uint8_t keymap_get_keycode(int row, int col);
+uint8_t keymap_get_keycodel(int layer, int row, int col);
+int keymap_get_layer(void);
+int keymap_set_layer(int layer);
+
+/* process Fn keys. This.should be called every scan. */
+void keymap_fn_proc(int fn_bits);
+
+#endif