2 * Acess2 USB Stack HID Driver
3 * - By John Hodge (thePowersGang)
10 #include "hid_reports.h"
15 tHID_ReportCallbacks *HID_Mouse_Report_Collection(tUSBInterface *Dev, tHID_ReportGlobalState *Global, tHID_ReportLocalState *Local, Uint32 Value);
16 void HID_Mouse_Report_Input(tUSBInterface *Dev, tHID_ReportGlobalState *Global, tHID_ReportLocalState *Local, Uint32 Value);
17 void HID_Mouse_Report_Output(tUSBInterface *Dev, tHID_ReportGlobalState *Global, tHID_ReportLocalState *Local, Uint32 Value);
18 void HID_Mouse_Report_Feature(tUSBInterface *Dev, tHID_ReportGlobalState *Global, tHID_ReportLocalState *Local, Uint32 Value);
21 tDevFS_Driver gHID_Mouse_DevFS = {
22 .Name = "USBKeyboard",
24 tHID_ReportCallbacks gHID_Mouse_ReportCBs = {
25 .Collection = HID_Mouse_Report_Collection,
26 .Input = HID_Mouse_Report_Input,
27 .Output = HID_Mouse_Report_Output,
28 .Feature = HID_Mouse_Report_Feature
32 tHID_ReportCallbacks *HID_Mouse_Report_Collection(
34 tHID_ReportGlobalState *Global, tHID_ReportLocalState *Local,
38 return &gHID_Mouse_ReportCBs;
41 void HID_Mouse_Report_Input(
43 tHID_ReportGlobalState *Global, tHID_ReportLocalState *Local,
50 void HID_Mouse_Report_Output(
52 tHID_ReportGlobalState *Global, tHID_ReportLocalState *Local,
59 void HID_Mouse_Report_Feature(
61 tHID_ReportGlobalState *Global, tHID_ReportLocalState *Local,