]> git.donarmstrong.com Git - tmk_firmware.git/blob - keymap_skel.h
add "Build your own firmware" and "Features" section to README.
[tmk_firmware.git] / keymap_skel.h
1 #ifndef KEYMAP_SKEL_H
2 #define KEYMAP_SKEL_H 1
3
4 #include <stdint.h>
5 #include <stdbool.h>
6 #include "usb_keycodes.h"
7
8
9 /* keycode in specific layer */
10 uint8_t keymap_get_keycode(uint8_t layer, uint8_t row, uint8_t col);
11
12 /* layer to move during press Fn key */
13 int keymap_fn_layer(uint8_t fn_bits);
14
15 /* keycode to send when release Fn key without using */
16 uint8_t keymap_fn_keycode(uint8_t fn_bits);
17
18 /* whether special key combination */
19 bool keymap_is_special_mode(uint8_t fn_bits);
20
21 #endif