diff options
author | Twentylives <lior@dotcore.co.il> | 2018-03-16 22:32:18 +0200 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-03-16 16:32:18 -0400 |
commit | 598ab478be6f52382aeeb9df78c377cdcf963068 (patch) | |
tree | dd3c531c5ac4ad02940c1a967da4e056aadc805b /keyboards/handwired/dactyl_manuform/split_util.h | |
parent | 241421efd44b7d85870df6eef72fd68fcfaa8e59 (diff) | |
download | qmk_firmware-598ab478be6f52382aeeb9df78c377cdcf963068.tar.gz qmk_firmware-598ab478be6f52382aeeb9df78c377cdcf963068.zip |
new handwired keyboard - Dactyl Manuform (#2516)
* adding new handwired keyboard: dactyl-manuform
* adding qwerty layout
* updating readme file.
Diffstat (limited to 'keyboards/handwired/dactyl_manuform/split_util.h')
-rw-r--r-- | keyboards/handwired/dactyl_manuform/split_util.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/keyboards/handwired/dactyl_manuform/split_util.h b/keyboards/handwired/dactyl_manuform/split_util.h new file mode 100644 index 0000000000..595a0659e1 --- /dev/null +++ b/keyboards/handwired/dactyl_manuform/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 |