diff options
| author | omkbd <takuya.electronics@gmail.com> | 2018-06-07 01:41:51 +0900 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2018-06-06 09:41:51 -0700 |
| commit | e921b9a77e36787704e3f5480b525fcaa97cf08b (patch) | |
| tree | 284d42475b423f1a11e9c1136ea93c9932c738de /keyboards/ergodash/split_util.h | |
| parent | 96546c79c0e931c89e4ac60a154b669925d5d34d (diff) | |
| download | qmk_firmware-e921b9a77e36787704e3f5480b525fcaa97cf08b.tar.gz qmk_firmware-e921b9a77e36787704e3f5480b525fcaa97cf08b.zip | |
Add ErgoDash keyboard (#3128)
* create ergodash
* Revert "create ergodash"
This reverts commit b261c808c30fee95cb656629f7e9b44b01e79363.
* add ergodash
* keymap→layout
* use set_single_persistent_default_layer
Diffstat (limited to 'keyboards/ergodash/split_util.h')
| -rw-r--r-- | keyboards/ergodash/split_util.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/keyboards/ergodash/split_util.h b/keyboards/ergodash/split_util.h new file mode 100644 index 000000000..595a0659e --- /dev/null +++ b/keyboards/ergodash/split_util.h | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | #ifndef SPLIT_KEYBOARD_UTIL_H | ||
| 2 | #define SPLIT_KEYBOARD_UTIL_H | ||
| 3 | |||
| 4 | #include <stdbool.h> | ||
| 5 | #include "eeconfig.h" | ||
| 6 | |||
| 7 | #define SLAVE_I2C_ADDRESS 0x32 | ||
| 8 | |||
| 9 | extern volatile bool isLeftHand; | ||
| 10 | |||
| 11 | // slave version of matix scan, defined in matrix.c | ||
| 12 | void matrix_slave_scan(void); | ||
| 13 | |||
| 14 | void split_keyboard_setup(void); | ||
| 15 | bool has_usb(void); | ||
| 16 | void keyboard_slave_loop(void); | ||
| 17 | |||
| 18 | void matrix_master_OLED_init (void); | ||
| 19 | |||
| 20 | #endif | ||
