summaryrefslogtreecommitdiff
path: root/keyboards/lily58/rev1/split_util.h
diff options
context:
space:
mode:
authorNaoki Katahira <kata0510.com@gmail.com>2019-01-06 02:30:48 +0900
committerDrashna Jaelre <drashna@live.com>2019-01-05 09:30:48 -0800
commitea47be936b41a31e2644ad3403d91010916683ce (patch)
treec8db4d32373542cd1236a4d537fa45a00ed7b6fb /keyboards/lily58/rev1/split_util.h
parent5b5f452bf9feae121ec5c2f3e9d5d993fcb73f92 (diff)
Keyboard: Lily58 update serial.c and add OLED (#4715)
* update serial.c and add OLED * update readme * keymap fix * keymap fix2
Diffstat (limited to 'keyboards/lily58/rev1/split_util.h')
-rwxr-xr-xkeyboards/lily58/rev1/split_util.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/keyboards/lily58/rev1/split_util.h b/keyboards/lily58/rev1/split_util.h
new file mode 100755
index 0000000000..687ca19bd3
--- /dev/null
+++ b/keyboards/lily58/rev1/split_util.h
@@ -0,0 +1,19 @@
+#ifndef SPLIT_KEYBOARD_UTIL_H
+#define SPLIT_KEYBOARD_UTIL_H
+
+#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 has_usb(void);
+
+void matrix_master_OLED_init (void);
+
+#endif