~ruther/qmk_firmware

ref: 5ab3b27e5f9049d2e4036a71cc4fc7f2922629d1 qmk_firmware/quantum/split_common/split_util.h -rw-r--r-- 401 bytes
5ab3b27e — James Young Data-Driven Keyboard Conversions: K, Part 1 (#23556) 1 year, 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <stdbool.h>
#include <stdint.h>

#include "matrix.h"

extern volatile bool isLeftHand;

void split_pre_init(void);
void split_post_init(void);

bool transport_master_if_connected(matrix_row_t master_matrix[], matrix_row_t slave_matrix[]);
bool is_transport_connected(void);

void split_watchdog_update(bool done);
void split_watchdog_task(void);
bool split_watchdog_check(void);