diff options
| author | Alex Ong <the.onga@gmail.com> | 2019-01-04 19:39:14 +1100 |
|---|---|---|
| committer | Alex Ong <the.onga@gmail.com> | 2019-01-04 19:39:14 +1100 |
| commit | 47c91fc7f75ae0a477e55b687aa0fc30da0a283c (patch) | |
| tree | 65ad39452748ff2e6d4a83ce54ede6ca22c9ada9 /quantum/api.h | |
| parent | ac9b88e8ccbbf38762871504cd827ff0d941c426 (diff) | |
| parent | 563ce3f225d981ce460c12ca5130dfe47af41df0 (diff) | |
| download | qmk_firmware-47c91fc7f75ae0a477e55b687aa0fc30da0a283c.tar.gz qmk_firmware-47c91fc7f75ae0a477e55b687aa0fc30da0a283c.zip | |
Merge branch 'master' of https://github.com/qmk/qmk_firmware
Diffstat (limited to 'quantum/api.h')
| -rw-r--r-- | quantum/api.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/quantum/api.h b/quantum/api.h index efc0ddca1..fc016391b 100644 --- a/quantum/api.h +++ b/quantum/api.h | |||
| @@ -17,7 +17,9 @@ | |||
| 17 | #ifndef _API_H_ | 17 | #ifndef _API_H_ |
| 18 | #define _API_H_ | 18 | #define _API_H_ |
| 19 | 19 | ||
| 20 | #ifdef __AVR__ | ||
| 20 | #include "lufa.h" | 21 | #include "lufa.h" |
| 22 | #endif | ||
| 21 | 23 | ||
| 22 | enum MESSAGE_TYPE { | 24 | enum MESSAGE_TYPE { |
| 23 | MT_GET_DATA = 0x10, // Get data from keyboard | 25 | MT_GET_DATA = 0x10, // Get data from keyboard |
| @@ -28,7 +30,7 @@ enum MESSAGE_TYPE { | |||
| 28 | MT_SEND_DATA_ACK = 0x31, // returned data/action confirmation (ACK) | 30 | MT_SEND_DATA_ACK = 0x31, // returned data/action confirmation (ACK) |
| 29 | MT_EXE_ACTION = 0x40, // executing actions on keyboard | 31 | MT_EXE_ACTION = 0x40, // executing actions on keyboard |
| 30 | MT_EXE_ACTION_ACK =0x41, // return confirmation/value (ACK) | 32 | MT_EXE_ACTION_ACK =0x41, // return confirmation/value (ACK) |
| 31 | MT_TYPE_ERROR = 0x80 // type not recofgnised (ACK) | 33 | MT_TYPE_ERROR = 0x80 // type not recognised (ACK) |
| 32 | }; | 34 | }; |
| 33 | 35 | ||
| 34 | enum DATA_TYPE { | 36 | enum DATA_TYPE { |
