~ruther/qmk_firmware

ref: a360900fbb87cec0aa721d527b251a3dcc72c671 qmk_firmware/quantum/split_common/split_util.h -rw-r--r-- 401 bytes
a360900f — Pablo Martínez [Enhancement] QP Getters (#21171) 2 years 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);