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.

split-util.h 444B

1234567891011121314151617181920
  1. #ifndef SPLIT_KEYBOARD_UTIL_H
  2. #define SPLIT_KEYBOARD_UTIL_H
  3. #include <stdbool.h>
  4. #define EECONFIG_BOOTMAGIC_END (uint8_t *)7
  5. #define EECONFIG_HANDEDNESS EECONFIG_BOOTMAGIC_END
  6. #define SLAVE_I2C_ADDRESS 0x32
  7. extern volatile bool isLeftHand;
  8. // slave version of matix scan, defined in matrix.c
  9. void matrix_slave_scan(void);
  10. void split_keyboard_setup(void);
  11. bool has_usb(void);
  12. void keyboard_slave_loop(void);
  13. #endif