Keyboard firmwares for Atmel AVR and Cortex-M
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

keymap_skel.h 490B

123456789101112131415161718192021
  1. #ifndef KEYMAP_SKEL_H
  2. #define KEYMAP_SKEL_H 1
  3. #include <stdint.h>
  4. #include <stdbool.h>
  5. #include "usb_keycodes.h"
  6. /* keycode in specific layer */
  7. uint8_t keymap_get_keycode(uint8_t layer, uint8_t row, uint8_t col);
  8. /* layer to move during press Fn key */
  9. int keymap_fn_layer(uint8_t fn_bits);
  10. /* keycode to send when release Fn key without using */
  11. uint8_t keymap_fn_keycode(uint8_t fn_bits);
  12. /* whether special key combination */
  13. bool keymap_is_special_mode(uint8_t fn_bits);
  14. #endif