diff options
author | tmk <nobody@nowhere> | 2010-10-29 15:17:18 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2010-10-30 01:16:47 +0900 |
commit | 45d4a7a89883c3433604d4e011b665796a583008 (patch) | |
tree | b9ff5306dc5eb9a06d7e4a2fb7d0873a9b30606d /keymap_skel.h | |
parent | 6c3b9a2ded1afcf4a6bbc69878f52088f4c1a0e8 (diff) | |
download | qmk_firmware-45d4a7a89883c3433604d4e011b665796a583008.tar.gz qmk_firmware-45d4a7a89883c3433604d4e011b665796a583008.zip |
improve layer switching
Diffstat (limited to 'keymap_skel.h')
-rw-r--r-- | keymap_skel.h | 15 |
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 |