aboutsummaryrefslogtreecommitdiff
path: root/quantum/api.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/api.h')
-rw-r--r--quantum/api.h4
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
22enum MESSAGE_TYPE { 24enum 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
34enum DATA_TYPE { 36enum DATA_TYPE {