~ruther/qmk_firmware

ref: ffc82ebdb2ee00c14dd225eb057d209d4584a623 qmk_firmware/keyboards/vitamins_included/split_util.h -rw-r--r-- 335 bytes
ffc82ebd — XScorpion2 [Keyboard] Zen keyboard update for Rev2 (#5522) 6 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef SPLIT_KEYBOARD_UTIL_H
#define SPLIT_KEYBOARD_UTIL_H

#include <stdbool.h>
#include "eeconfig.h"

#define SLAVE_I2C_ADDRESS           0x32

extern volatile bool isLeftHand;
extern volatile bool contacted_by_master;

bool has_usb(void);

// slave version of matix scan, defined in matrix.c
void matrix_slave_scan(void);


#endif