diff options
author | marksard <38324387+marksard@users.noreply.github.com> | 2019-04-04 14:56:22 +0900 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-04-03 22:56:22 -0700 |
commit | debd902a3d5788beab8580a26c84d7db2365a638 (patch) | |
tree | 5d45358a2655fbbd2d5ecd5941a5fad61de5fd51 /keyboards/treadstone48/rev1/split_util.h | |
parent | 4f4fad83737546db6dd04af9e26320ef7d0610dd (diff) | |
download | firmware-debd902a3d5788beab8580a26c84d7db2365a638.tar.gz firmware-debd902a3d5788beab8580a26c84d7db2365a638.tar.bz2 firmware-debd902a3d5788beab8580a26c84d7db2365a638.zip |
[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
Diffstat (limited to 'keyboards/treadstone48/rev1/split_util.h')
-rw-r--r-- | keyboards/treadstone48/rev1/split_util.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/keyboards/treadstone48/rev1/split_util.h b/keyboards/treadstone48/rev1/split_util.h new file mode 100644 index 000000000..f59304756 --- /dev/null +++ b/keyboards/treadstone48/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); |