diff options
| author | Erez Zukerman <bulk@ezuk.org> | 2016-11-29 08:16:04 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-11-29 08:16:04 -0500 |
| commit | 51ae6da99edd732ccdec6e102bd757e08950d23b (patch) | |
| tree | 53e316e1fbe468e0b1f65fd11e161ebc74c6ef70 /tmk_core/common | |
| parent | 7b219a7f6016dfe80c1c3db33bcf859e3e355d8d (diff) | |
| parent | f946d830f98da0161753d37da9659caa7469cf4f (diff) | |
| download | qmk_firmware-51ae6da99edd732ccdec6e102bd757e08950d23b.tar.gz qmk_firmware-51ae6da99edd732ccdec6e102bd757e08950d23b.zip | |
Merge pull request #918 from jackhumbert/wu5y7
Adds Ergodox EZ RGB lights (both sides using I2C) and implements API base, Midi SysEx API
Diffstat (limited to 'tmk_core/common')
| -rw-r--r-- | tmk_core/common/host_driver.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tmk_core/common/host_driver.h b/tmk_core/common/host_driver.h index edb9e5dd9..588d1c0be 100644 --- a/tmk_core/common/host_driver.h +++ b/tmk_core/common/host_driver.h | |||
| @@ -20,7 +20,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | 20 | ||
| 21 | #include <stdint.h> | 21 | #include <stdint.h> |
| 22 | #include "report.h" | 22 | #include "report.h" |
| 23 | 23 | #ifdef MIDI_ENABLE | |
| 24 | #include "midi.h" | ||
| 25 | #endif | ||
| 24 | 26 | ||
| 25 | typedef struct { | 27 | typedef struct { |
| 26 | uint8_t (*keyboard_leds)(void); | 28 | uint8_t (*keyboard_leds)(void); |
| @@ -28,6 +30,11 @@ typedef struct { | |||
| 28 | void (*send_mouse)(report_mouse_t *); | 30 | void (*send_mouse)(report_mouse_t *); |
| 29 | void (*send_system)(uint16_t); | 31 | void (*send_system)(uint16_t); |
| 30 | void (*send_consumer)(uint16_t); | 32 | void (*send_consumer)(uint16_t); |
| 33 | #ifdef MIDI_ENABLE | ||
| 34 | void (*usb_send_func)(MidiDevice *, uint16_t, uint8_t, uint8_t, uint8_t); | ||
| 35 | void (*usb_get_midi)(MidiDevice *); | ||
| 36 | void (*midi_usb_init)(MidiDevice *); | ||
| 37 | #endif | ||
| 31 | } host_driver_t; | 38 | } host_driver_t; |
| 32 | 39 | ||
| 33 | #endif | 40 | #endif |
