summaryrefslogtreecommitdiff
path: root/keymap.h
diff options
context:
space:
mode:
Diffstat (limited to 'keymap.h')
-rw-r--r--keymap.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/keymap.h b/keymap.h
new file mode 100644
index 0000000000..79ef0359d9
--- /dev/null
+++ b/keymap.h
@@ -0,0 +1,18 @@
+#ifndef KEYMAP_H
+#define KEYMAP_H
+
+#include <stdint.h>
+#include <stdbool.h>
+#include "usb_keycodes.h"
+
+
+/* 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 */
+uint8_t 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);
+
+#endif