git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ted.mutabah.net:acess2
[tpg/acess2.git]
/
KernelLand
/
Modules
/
USB
/
HID
/
main.c
diff --git
a/KernelLand/Modules/USB/HID/main.c
b/KernelLand/Modules/USB/HID/main.c
index
8fcaa9e
..
6b36809
100644
(file)
--- a/
KernelLand/Modules/USB/HID/main.c
+++ b/
KernelLand/Modules/USB/HID/main.c
@@
-5,7
+5,7
@@
* main.c
* - Driver Core
*/
* main.c
* - Driver Core
*/
-#define DEBUG
1
+#define DEBUG
0
#define VERSION VER2(0,1)
#include <acess.h>
#include <modules.h>
#define VERSION VER2(0,1)
#include <acess.h>
#include <modules.h>
@@
-26,7
+26,6
@@
struct sHID_Device
// === IMPORTS ===
extern tHID_ReportCallbacks gHID_Mouse_ReportCBs;
// === IMPORTS ===
extern tHID_ReportCallbacks gHID_Mouse_ReportCBs;
-extern tDevFS_Driver gHID_Mouse_DevFS;
extern tHID_ReportCallbacks gHID_Kb_ReportCBs;
// === PROTOTYPES ===
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 ===
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}},
tUSBDriver gHID_USBDriver = {
.Name = "HID",
.Match = {.Class = {0x030000, 0xFF0000}},
@@
-61,8
+60,6
@@
int HID_Initialise(char **Arguments)
{
USB_RegisterDriver( &gHID_USBDriver );
{
USB_RegisterDriver( &gHID_USBDriver );
- DevFS_AddDevice( &gHID_Mouse_DevFS );
-
return 0;
}
return 0;
}
UCC
git Repository :: git.ucc.asn.au