diff options
author | Naoki Katahira <kata0510.com@gmail.com> | 2018-09-16 02:14:39 +0900 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-09-15 10:14:39 -0700 |
commit | 9712501bf3291942067ac75b50b1675a265a3f11 (patch) | |
tree | 7225957f8b883babda6b25df88a3291ecdde7d98 /keyboards/lily58/split_util.h | |
parent | db35065e1431246b5297e644a867ee6f5449a6f4 (diff) | |
download | qmk_firmware-9712501bf3291942067ac75b50b1675a265a3f11.tar.gz |
Keyboard: Add Lily58 Keyboard (#3893)
* add Lily58
* file fix
Diffstat (limited to 'keyboards/lily58/split_util.h')
-rw-r--r-- | keyboards/lily58/split_util.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/keyboards/lily58/split_util.h b/keyboards/lily58/split_util.h new file mode 100644 index 000000000..595a0659e --- /dev/null +++ b/keyboards/lily58/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 |