Wixel SDK
usb_hid.h
Go to the documentation of this file.
1 
18 #ifndef _USB_HID_H
19 #define _USB_HID_H
20 
21 #include "usb_hid_constants.h"
22 #include <cc2511_types.h>
23 
31 {
51 
55 typedef struct HID_KEYBOARD_IN_REPORT
56 {
65  uint8 _reserved;
73 
77 typedef struct HID_MOUSE_IN_REPORT
78 {
100 
105 {
117 
124 
131 
139 
147 
152 
157 
162 
164 void usbHidService(void);
165 
173 uint8 usbHidKeyCodeFromAsciiChar(char asciiChar);
174 
175 #endif
HID_KEYBOARD_IN_REPORT XDATA usbHidKeyboardInput
Definition: usb_hid.c:375
HID_KEYBOARD_OUT_REPORT XDATA usbHidKeyboardOutput
Definition: usb_hid.c:374
#define XDATA
Definition: cc2511_types.h:65
signed short int16
Definition: cc2511_types.h:18
BIT usbHidMouseInputUpdated
Definition: usb_hid.c:380
void usbHidService(void)
Definition: usb_hid.c:555
unsigned long uint32
Definition: cc2511_types.h:21
__bit BIT
Definition: cc2511_types.h:32
HID_MOUSE_IN_REPORT XDATA usbHidMouseInput
Definition: usb_hid.c:376
unsigned char uint8
Definition: cc2511_types.h:9
HID_JOYSTICK_IN_REPORT XDATA usbHidJoystickInput
Definition: usb_hid.c:377
BIT usbHidJoystickInputUpdated
Definition: usb_hid.c:381
BIT usbHidKeyboardInputUpdated
Definition: usb_hid.c:379
uint8 usbHidKeyCodeFromAsciiChar(char asciiChar)
Definition: usb_hid.c:731
signed char int8
Definition: cc2511_types.h:12