diff options
author | Mattia Dal Ben <mattdibi@users.noreply.github.com> | 2018-04-29 22:01:33 +0200 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-04-29 13:01:33 -0700 |
commit | 3b7b1994cd9e3e61fdee84eff78875135642aa6c (patch) | |
tree | bb7be07641b6b4bf5b992a53d80990d92dc62e41 /keyboards/redox/split_util.h | |
parent | 19aa2c34e859946edae24108fe7df69c949b124e (diff) | |
download | firmware-3b7b1994cd9e3e61fdee84eff78875135642aa6c.tar.gz firmware-3b7b1994cd9e3e61fdee84eff78875135642aa6c.tar.bz2 firmware-3b7b1994cd9e3e61fdee84eff78875135642aa6c.zip |
Redox keyboard code (#2843)
* Added Redox keyboard with default keymap (IT layout)
* Updated manufacturer url
* Applied requested changes
Diffstat (limited to 'keyboards/redox/split_util.h')
-rw-r--r-- | keyboards/redox/split_util.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/keyboards/redox/split_util.h b/keyboards/redox/split_util.h new file mode 100644 index 000000000..a0a8dd3bf --- /dev/null +++ b/keyboards/redox/split_util.h @@ -0,0 +1,21 @@ +#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 |