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
/
keyboard.c
diff --git
a/KernelLand/Modules/USB/HID/keyboard.c
b/KernelLand/Modules/USB/HID/keyboard.c
index
59a89b9
..
380518d
100644
(file)
--- a/
KernelLand/Modules/USB/HID/keyboard.c
+++ b/
KernelLand/Modules/USB/HID/keyboard.c
@@
-5,7
+5,7
@@
* keyboard.c
* - Keyboard translation
*/
* keyboard.c
* - Keyboard translation
*/
-#define DEBUG
1
+#define DEBUG
0
#include <acess.h>
#include <fs_devfs.h>
#include "hid_reports.h"
#include <acess.h>
#include <fs_devfs.h>
#include "hid_reports.h"
@@
-136,7
+136,8
@@
void HID_Kb_Report_Input(tUSBInterface *Dev, tHID_ReportGlobalState *Global, tHI
info->DataAvail = HID_Kb_DataAvail;
info->Info = NULL;
info->CollectionDepth = 1;
info->DataAvail = HID_Kb_DataAvail;
info->Info = NULL;
info->CollectionDepth = 1;
- info->bIsBoot = 1;
+ info->bIsBoot = 1; // TODO: Detect non-boot keyboards and parse descriptor
+ Log_Warning("USB HID", "TODO: Handle non-boot keyboards!");
info->Info = Keyboard_CreateInstance(0, "USBKeyboard");
}
}
info->Info = Keyboard_CreateInstance(0, "USBKeyboard");
}
}
UCC
git Repository :: git.ucc.asn.au