aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/vitamins_included/split_util.h
blob: da7be515596e3745fb9c7d0e88212ae6d6ce4276 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

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

#define SLAVE_I2C_ADDRESS           0x32

extern volatile bool isLeftHand;
extern volatile bool contacted_by_master;

bool has_usb(void);
bool is_rev2(void);

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