Opened 14 years ago

Closed 14 years ago

#5136 closed enhancement (invalid)

Recognition of usb hid devices based on usages

Reported by: bmkx Owned by: mmlr
Priority: normal Milestone:
Component: Drivers/USB Version: R1/alpha1
Keywords: HID Cc:
Blocked By: Blocking:
Platform: All

Description

This is a patch that adds possibility to recognize usb device basing on its usage field and changes mouse detection to that new method. This is particularly needed for distinguishing mouse from joystick or other game controllers, because right now such device is seen as another mouse.

Attachments (1)

usb_hid.patch (2.0 KB ) - added by bmkx 14 years ago.

Download all attachments as: .zip

Change History (4)

by bmkx, 14 years ago

Attachment: usb_hid.patch added

comment:1 by mmlr, 14 years ago

It's actually fully intentional on my side that these devices aren't picked by their usage but by their capabilities. Mouse-similar devices with two axis is good enough to drive the pointer. That absolute mode isn't supported and therefore joysticks and the like are currently problematic is just a missing feature, it doesn't mean that these devices shouldn't be picked up per se.

comment:2 by bmkx, 14 years ago

This enhancement patch was created before our discussion on ML and I think it's no more valid, as I've started to work on a different approach (as you have proposed). So feel free to close it as non applicable. As a side note: While I agree that devices should be picked by capabilities in general, I'd also like to see an usage of an device (an application more precisely) being presented in some way to the user (of the new framework of course).

comment:3 by mmlr, 14 years ago

Resolution: invalid
Status: newclosed

Closing as it will be superseeded by the more general framework.

Note: See TracTickets for help on using tickets.