From 633e4d7a5fbe3e66b25a21b083f90e75624f9d0d Mon Sep 17 00:00:00 2001 From: hidnplayr Date: Sun, 26 Jan 2014 16:44:42 +0000 Subject: [PATCH] USBHID: support for pointer type device. Now 'USB tablet' mode also works in QEMU. git-svn-id: svn://kolibrios.org@4531 a494cfbc-eb01-0410-851d-a64ba20cac60 --- kernel/trunk/drivers/usbhid/report.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/trunk/drivers/usbhid/report.inc b/kernel/trunk/drivers/usbhid/report.inc index aabec02030..a54432729c 100644 --- a/kernel/trunk/drivers/usbhid/report.inc +++ b/kernel/trunk/drivers/usbhid/report.inc @@ -1001,6 +1001,8 @@ end if ; If [collection.usage] is unknown, use default driver if HID_DUMP_UNCLAIMED ; and do not assign a driver otherwise. mov esi, mouse_driver + cmp [edi+collection.usage], USAGE_GD_POINTER + jz .has_driver cmp [edi+collection.usage], USAGE_GD_MOUSE jz .has_driver mov esi, keyboard_driver