X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FModules%2FUSB%2FHID%2Fkeyboard.c;h=6a473c6887460cc773085afad379d1345c8c4f9e;hb=13078002b01ee4f63eb2001d2ef479a2a006ea32;hp=59a89b9139565b7cd125dd9bef854680ab63c15d;hpb=70a143a9de252ddc4f148866b0a93e28904073e5;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/USB/HID/keyboard.c b/KernelLand/Modules/USB/HID/keyboard.c index 59a89b91..6a473c68 100644 --- a/KernelLand/Modules/USB/HID/keyboard.c +++ b/KernelLand/Modules/USB/HID/keyboard.c @@ -5,7 +5,7 @@ * keyboard.c * - Keyboard translation */ -#define DEBUG 1 +#define DEBUG 0 #include #include #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->bIsBoot = 1; + info->bIsBoot = 1; // TODO: Detect non-boot keyboards and parse descriptor + Log_Warning("USB HID", "TODO: Detect and handle non-boot keyboards!"); info->Info = Keyboard_CreateInstance(0, "USBKeyboard"); } }