aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/quefrency/split_util.h
diff options
context:
space:
mode:
authorGravatar Danny <nooges@users.noreply.github.com>2018-07-12 13:26:50 -0400
committerGravatar Drashna Jaelre <drashna@live.com>2018-07-12 10:26:49 -0700
commit9a1613dd1a86e8db65d68756cea48d9d9ba075d8 (patch)
tree247db8b9b7bb42ae1ef2c1c4fc9da7d49d4e90dd /keyboards/quefrency/split_util.h
parentf30d6dd7858dfa3a0cf214113e8b1d45b30d74ce (diff)
downloadqmk_firmware-9a1613dd1a86e8db65d68756cea48d9d9ba075d8.tar.gz
Add Quefrency Keyboard (#3376)
* Fork Fourier keyboard to Quefrency * Set Quefrency pinouts and initial keymap * Set configurator layout
Diffstat (limited to 'keyboards/quefrency/split_util.h')
-rw-r--r--keyboards/quefrency/split_util.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/keyboards/quefrency/split_util.h b/keyboards/quefrency/split_util.h
new file mode 100644
index 000000000..595a0659e
--- /dev/null
+++ b/keyboards/quefrency/split_util.h
@@ -0,0 +1,20 @@
+#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 keyboard_slave_loop(void);
+
+void matrix_master_OLED_init (void);
+
+#endif