summaryrefslogtreecommitdiff
path: root/keyboards/splitty/split_util.h
blob: dd3c402d0ae09996e6226039baaa9806cde731bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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;

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


#endif