Modules - Implementing mouse multiplexer
[tpg/acess2.git] / KernelLand / Modules / USB / HID / keyboard.c
index 59a89b9..380518d 100644 (file)
@@ -5,7 +5,7 @@
  * keyboard.c
  * - Keyboard translation
  */
-#define DEBUG  1
+#define DEBUG  0
 #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->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");
        }
 }

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