summaryrefslogtreecommitdiff
path: root/keymap_skel.h
diff options
context:
space:
mode:
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