~ruther/qmk_firmware

ref: 4a66bdf29443607ae01c1a6c87b657f89d3a1769 qmk_firmware/keyboards/helix/rev2/custom/split_util.h -rw-r--r-- 454 bytes
4a66bdf2 — Takeshi ISHII Fix helix/rev2 not working properly when using split_common. (#16512) 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#ifdef SPLIT_KEYBOARD
#   error This is helix local split_util.h.
#   error This header file is used only when SPLIT_KEYBOARD=no.
#endif

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

#define SLAVE_I2C_ADDRESS           0x32

extern volatile bool isLeftHand;

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

void split_keyboard_setup(void);
bool is_helix_master(void);

void matrix_master_OLED_init (void);