31 #define HID_Command 0x41
32 #define HID_Modifier 0x42
34 #define HID_Keyboard 0x43
37 #define HID_L_Ctrl 0x01
38 #define HID_L_Shift 0x02
39 #define HID_L_Alt 0x04
40 #define HID_L_GUI 0x08
41 #define HID_R_Ctrl 0x10
42 #define HID_R_Shift 0x20
43 #define HID_R_Alt 0x40
44 #define HID_R_GUI 0x80
46 #include "NXShieldI2C.h"
55 NXTHID(uint8_t i2c_address = 0x04);
This class implements I2C interfaces used by NXShield.
Definition: NXShieldI2C.h:32
NXTHID(uint8_t i2c_address=0x04)
Definition: NXTHID.cpp:31
bool transmitData()
Definition: NXTHID.cpp:41
bool setModifier(uint8_t mod)
Definition: NXTHID.cpp:56
This class interfaces with NXTHID attached to NXShield.
Definition: NXTHID.h:51
bool sendTextString(char *str)
Definition: NXTHID.cpp:72
bool sendKeyboardData(uint8_t data)
Definition: NXTHID.cpp:62
bool asciiMode()
Definition: NXTHID.cpp:46
bool directMode()
Definition: NXTHID.cpp:51
uint8_t issueCommand(char command)
Definition: NXTHID.cpp:36