]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/lets_split/split_util.h
Merge remote-tracking branch 'upstream/master'
[qmk_firmware.git] / keyboards / lets_split / split_util.h
1 #ifndef SPLIT_KEYBOARD_UTIL_H
2 #define SPLIT_KEYBOARD_UTIL_H
3
4 #include <stdbool.h>
5
6 #ifdef EE_HANDS
7         #define EECONFIG_BOOTMAGIC_END      (uint8_t *)10
8         #define EECONFIG_HANDEDNESS         EECONFIG_BOOTMAGIC_END
9 #endif
10
11 #define SLAVE_I2C_ADDRESS           0x32
12
13 extern volatile bool isLeftHand;
14
15 // slave version of matix scan, defined in matrix.c
16 void matrix_slave_scan(void);
17
18 void split_keyboard_setup(void);
19 bool has_usb(void);
20 void keyboard_slave_loop(void);
21
22 void matrix_master_OLED_init (void);
23
24 #endif