Kernel - Slight reworks to timer code
[tpg/acess2.git] / Modules / USB / HID / main.c
1 /*
2  * Acess2 USB Stack HID Driver
3  * - By John Hodge (thePowersGang)
4  *
5  * main.c
6  * - Driver Core
7  */
8 #define DEBUG   0
9 #define VERSION VER2(0,1)
10 #include <acess.h>
11 #include <usb_core.h>
12
13 // === PROTOTYPES ===
14  int    HID_Initialise(const char **Arguments);
15 void    HID_DeviceConnected(tUSBInterface *Dev);
16
17 // === GLOBALS ===
18 MODULE_DEFINE(0, VERSION, USB_HID, HID_Initialise, NULL, "USB_Core", NULL);
19 tUSBDriver      gHID_Driver = {
20         .Name = "HID",
21         .Match = {.Class = {0x030000, 0xFF0000}},
22         .Connected = HID_DeviceConnected,
23 };
24
25 // === CODE ===
26 int HID_Initialise(const char **Arguments)
27 {
28         USB_RegisterDriver( &gHID_Driver );
29         return 0;
30 }
31
32 void HID_DeviceConnected(tUSBInterface *Dev)
33 {
34         
35 }
36

UCC git Repository :: git.ucc.asn.au