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
This commit is contained in:
hidnplayr 2014-01-26 16:44:42 +00:00
parent 0e1f1afeae
commit 633e4d7a5f

View File

@ -1001,6 +1001,8 @@ end if
; If [collection.usage] is unknown, use default driver if HID_DUMP_UNCLAIMED ; If [collection.usage] is unknown, use default driver if HID_DUMP_UNCLAIMED
; and do not assign a driver otherwise. ; and do not assign a driver otherwise.
mov esi, mouse_driver mov esi, mouse_driver
cmp [edi+collection.usage], USAGE_GD_POINTER
jz .has_driver
cmp [edi+collection.usage], USAGE_GD_MOUSE cmp [edi+collection.usage], USAGE_GD_MOUSE
jz .has_driver jz .has_driver
mov esi, keyboard_driver mov esi, keyboard_driver