summaryrefslogtreecommitdiffstats
path: root/keyboards/vitamins_included/split_util.h
blob: 5acf386e4f97b73da732018c44e0932f02055c54 (plain)
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