split_util.h 335 B

123456789101112131415161718
  1. #ifndef SPLIT_KEYBOARD_UTIL_H
  2. #define SPLIT_KEYBOARD_UTIL_H
  3. #include <stdbool.h>
  4. #include "eeconfig.h"
  5. #define SLAVE_I2C_ADDRESS 0x32
  6. extern volatile bool isLeftHand;
  7. extern volatile bool contacted_by_master;
  8. bool has_usb(void);
  9. // slave version of matix scan, defined in matrix.c
  10. void matrix_slave_scan(void);
  11. #endif