1 #include QMK_KEYBOARD_H
3 bool is_keyboard_master(void) {
4 // TODO: replace this override once USB host detection is implemented
5 // SPLIT_HAND_PIN Combined with MASTER_LEFT or MASTER_RIGHT, gives a crude
6 // way to force teensy to run as slave/master
7 setPinInput(SPLIT_HAND_PIN);
9 #if defined(MASTER_RIGHT)
10 return !readPin(SPLIT_HAND_PIN);
12 return readPin(SPLIT_HAND_PIN);