From debd902a3d5788beab8580a26c84d7db2365a638 Mon Sep 17 00:00:00 2001 From: marksard <38324387+marksard@users.noreply.github.com> Date: Thu, 4 Apr 2019 14:56:22 +0900 Subject: [Keyboard] add treeadstone48 (#5405) * Keyboard: add treeadstone48 * rename layout defines * Use of pragma once * move common include code * fixed info.json * change keymap layout from kc to normal * fix alpha revision keymap * fixed info.json * remove USE_Link_Time_Optimization --- keyboards/treadstone48/rev1/split_util.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 keyboards/treadstone48/rev1/split_util.h (limited to 'keyboards/treadstone48/rev1/split_util.h') diff --git a/keyboards/treadstone48/rev1/split_util.h b/keyboards/treadstone48/rev1/split_util.h new file mode 100644 index 0000000000..f593047560 --- /dev/null +++ b/keyboards/treadstone48/rev1/split_util.h @@ -0,0 +1,16 @@ +#pragma once + +#include +#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); -- cgit v1.2.3