summaryrefslogtreecommitdiff
path: root/keyboards/naked48/rev1/split_util.h
diff options
context:
space:
mode:
authorSalicylic-acid3 <46864619+Salicylic-acid3@users.noreply.github.com>2019-07-17 01:39:39 +0900
committerDrashna Jaelre <drashna@live.com>2019-07-16 09:39:39 -0700
commit4747d974aa72b05ab12917308703d711dd04b016 (patch)
tree8e0bd13ffaafb92fc4c0f2cf8b030625d8113df9 /keyboards/naked48/rev1/split_util.h
parente5d2cb8f98fb4dbec3c64e19acfaa4e6db57e257 (diff)
downloadqmk_firmware-4747d974aa72b05ab12917308703d711dd04b016.tar.gz
qmk_firmware-4747d974aa72b05ab12917308703d711dd04b016.zip
[Keyboard] Add keyboard Naked48 (#6330)
* Add Naked48 * Comment reflected
Diffstat (limited to 'keyboards/naked48/rev1/split_util.h')
-rw-r--r--keyboards/naked48/rev1/split_util.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/keyboards/naked48/rev1/split_util.h b/keyboards/naked48/rev1/split_util.h
new file mode 100644
index 0000000000..f593047560
--- /dev/null
+++ b/keyboards/naked48/rev1/split_util.h
@@ -0,0 +1,16 @@
+#pragma once
+
+#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);