summaryrefslogtreecommitdiff
path: root/keymap_skel.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 /keymap_skel.h
parent6c3b9a2ded1afcf4a6bbc69878f52088f4c1a0e8 (diff)
improve layer switching
Diffstat (limited to 'keymap_skel.h')
-rw-r--r--keymap_skel.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/keymap_skel.h b/keymap_skel.h
index c2b94177e7..e4ac560eb5 100644
--- a/keymap_skel.h
+++ b/keymap_skel.h
@@ -6,13 +6,16 @@
#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);
+/* keycode in specific layer */
+uint8_t keymap_get_keycode(uint8_t layer, uint8_t row, uint8_t col);
+/* layer to move during press Fn key */
+int keymap_fn_layer(uint8_t fn_bits);
+
+/* keycode to send when release Fn key without using */
+uint8_t keymap_fn_keycode(uint8_t fn_bits);
+
+/* whether special key combination */
bool keymap_is_special_mode(uint8_t fn_bits);
-/* process Fn keys. This.should be called every scan. */
-void keymap_fn_proc(uint8_t fn_bits);
#endif