summaryrefslogtreecommitdiff
path: root/quantum/split_common/split_util.h
blob: 5c9a260a14abba4c6b9d4cbb2226cb0cd2ce4634 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

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

#include "matrix.h"

extern volatile bool isLeftHand;

void matrix_master_OLED_init(void);
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);