summaryrefslogtreecommitdiff
path: root/layer.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2010-10-29 15:17:18 +0900
committertmk <nobody@nowhere>2010-10-30 01:16:47 +0900
commit45d4a7a89883c3433604d4e011b665796a583008 (patch)
treeb9ff5306dc5eb9a06d7e4a2fb7d0873a9b30606d /layer.h
parent6c3b9a2ded1afcf4a6bbc69878f52088f4c1a0e8 (diff)
improve layer switching
Diffstat (limited to 'layer.h')
-rw-r--r--layer.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/layer.h b/layer.h
new file mode 100644
index 0000000000..79a549857c
--- /dev/null
+++ b/layer.h
@@ -0,0 +1,13 @@
+#ifndef LAYER_H
+#define LAYER_H 1
+
+#include <stdint.h>
+
+
+/* return keycode for switch */
+uint8_t layer_get_keycode(uint8_t row, uint8_t col);
+
+/* process layer switching */
+void layer_switching(uint8_t fn_bits);
+
+#endif