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

1234567891011121314151617
  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. /* process Fn keys. This.should be called every scan. */
  11. void keymap_fn_proc(int fn_bits);
  12. #endif