split_util.h 454 B

1234567891011121314151617181920212223
  1. #ifndef SPLIT_KEYBOARD_UTIL_H
  2. #define SPLIT_KEYBOARD_UTIL_H
  3. #include <stdbool.h>
  4. #include <stdint.h>
  5. #include <stdio.h>
  6. #include <stdlib.h>
  7. #include "eeconfig.h"
  8. #define SLAVE_I2C_ADDRESS 0x32
  9. extern volatile bool isLeftHand;
  10. // slave version of matix scan, defined in matrix.c
  11. void matrix_slave_scan(void);
  12. void split_keyboard_setup(void);
  13. bool has_usb(void);
  14. void keyboard_slave_loop(void);
  15. void matrix_master_OLED_init (void);
  16. #endif