X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FUSB%2FHID%2Fmain.c;h=6b36809ad76e7486cff6ab39d13075d6f4f56573;hb=849329d50395b44ac97c5b5145fc2df0749eace2;hp=8fcaa9e788a4d31f0a9825ab7038558cc5cc9bb1;hpb=b21ce7f2b5fda2b8eb6156b3073753296ee7296c;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/USB/HID/main.c b/KernelLand/Modules/USB/HID/main.c index 8fcaa9e7..6b36809a 100644 --- a/KernelLand/Modules/USB/HID/main.c +++ b/KernelLand/Modules/USB/HID/main.c @@ -5,7 +5,7 @@ * main.c * - Driver Core */ -#define DEBUG 1 +#define DEBUG 0 #define VERSION VER2(0,1) #include #include @@ -26,7 +26,6 @@ struct sHID_Device // === IMPORTS === extern tHID_ReportCallbacks gHID_Mouse_ReportCBs; -extern tDevFS_Driver gHID_Mouse_DevFS; extern tHID_ReportCallbacks gHID_Kb_ReportCBs; // === PROTOTYPES === @@ -41,7 +40,7 @@ static void _AddItems(struct sHID_IntList *List, Uint32 First, Uint32 Last); static void _FreeList(struct sHID_IntList *List); // === GLOBALS === -MODULE_DEFINE(0, VERSION, USB_HID, HID_Initialise, NULL, "USB_Core", NULL); +MODULE_DEFINE(0, VERSION, USB_HID, HID_Initialise, NULL, "USB_Core", "Keyboard", "Mouse", NULL); tUSBDriver gHID_USBDriver = { .Name = "HID", .Match = {.Class = {0x030000, 0xFF0000}}, @@ -61,8 +60,6 @@ int HID_Initialise(char **Arguments) { USB_RegisterDriver( &gHID_USBDriver ); - DevFS_AddDevice( &gHID_Mouse_DevFS ); - return 0; }