summaryrefslogtreecommitdiffstats
path: root/keyboards/helix/rev2/custom/split_util.h
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-03-03 20:24:53 +0000
committerQMK Bot <hello@qmk.fm>2022-03-03 20:24:53 +0000
commit77ea1bdac4f015f6edb2af8821d2e22e56813a23 (patch)
tree7ceb2a0adb37b903990505f7ed14ce20bd04cdb6 /keyboards/helix/rev2/custom/split_util.h
parentb16af15750c809f9fb3ba01ed03e6ab9aedf9dd5 (diff)
parent4a66bdf29443607ae01c1a6c87b657f89d3a1769 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/helix/rev2/custom/split_util.h')
-rw-r--r--keyboards/helix/rev2/custom/split_util.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/keyboards/helix/rev2/custom/split_util.h b/keyboards/helix/rev2/custom/split_util.h
new file mode 100644
index 0000000000..3b1d4249f5
--- /dev/null
+++ b/keyboards/helix/rev2/custom/split_util.h
@@ -0,0 +1,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);