diff options
author | さくらんぼ <47372812+sakurachari@users.noreply.github.com> | 2019-04-12 01:07:39 +0900 |
---|---|---|
committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2019-04-11 09:07:39 -0700 |
commit | dc570b0b389d23b8ea8b46311294a7040b5e1e44 (patch) | |
tree | 8e47ebf2f6c291e960664e5d20afc308afa92e24 /keyboards/yosino58/rev1/split_util.h | |
parent | fa514e63aaed358dbe4d098e7dc31561f148aec0 (diff) |
Keyboard: Add yosino58 Keyboard (#5465)
* Keyboard: Add yosino58 Keyboard
* Keyboard: Add yosino58 Keyboard
Diffstat (limited to 'keyboards/yosino58/rev1/split_util.h')
-rw-r--r-- | keyboards/yosino58/rev1/split_util.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/keyboards/yosino58/rev1/split_util.h b/keyboards/yosino58/rev1/split_util.h new file mode 100644 index 0000000000..687ca19bd3 --- /dev/null +++ b/keyboards/yosino58/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 |