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.h 281B

1234567891011121314151617181920
  1. #ifndef KEYMAP_H
  2. #define KEYMAP_H 1
  3. #include <stdint.h>
  4. #include <stdbool.h>
  5. #include "usb_keycodes.h"
  6. #define MATRIX_ROWS 9
  7. #define MATRIX_COLS 8
  8. extern int current_layer;
  9. extern bool key_sent;
  10. int get_layer(void);
  11. uint8_t get_keycode(int layer, int row, int col);
  12. #endif