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.

layer.h 266B

123456789101112131415
  1. #ifndef LAYER_H
  2. #define LAYER_H 1
  3. #include <stdint.h>
  4. uint8_t default_layer;
  5. uint8_t current_layer;
  6. /* return keycode for switch */
  7. uint8_t layer_get_keycode(uint8_t row, uint8_t col);
  8. /* process layer switching */
  9. void layer_switching(uint8_t fn_bits);
  10. #endif