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 423B

123456789101112131415161718
  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. uint8_t keymap_get_keycode(int row, int col);
  7. uint8_t keymap_get_keycodel(int layer, int row, int col);
  8. int keymap_get_layer(void);
  9. int keymap_set_layer(int layer);
  10. bool keymap_is_special_mode(int fn_bits);
  11. /* process Fn keys. This.should be called every scan. */
  12. void keymap_fn_proc(int fn_bits);
  13. #endif