diff options
| author | Louis Burda <quent.burda@gmail.com> | 2022-12-16 20:31:06 +0100 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2022-12-16 20:31:06 +0100 |
| commit | 8e8c972cbec56d8de31847981149cde4a8fc16cd (patch) | |
| tree | 3f81fbb17a9e8338bf9b70f3e2059da50aebceca /src/split.h | |
| parent | cbb0ac4dac395ea287cf5e7cc211f81aef16e78f (diff) | |
| download | sxkbd-8e8c972cbec56d8de31847981149cde4a8fc16cd.tar.gz sxkbd-8e8c972cbec56d8de31847981149cde4a8fc16cd.zip | |
Add stdio command interface, matrix syncing and basic evaluation
Diffstat (limited to 'src/split.h')
| -rw-r--r-- | src/split.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/split.h b/src/split.h index 420b93d..7912cd4 100644 --- a/src/split.h +++ b/src/split.h @@ -1,4 +1,12 @@ #pragma once +#define LEFT 0 +#define RIGHT 1 + +#define SLAVE 0 +#define MASTER 1 + +#define SPLIT_OPP(x) ((x) == LEFT ? RIGHT : LEFT) + void split_init(void); void split_task(void); |
