-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Excluding ELAN touch screen #11324
Excluding ELAN touch screen #11324
Conversation
Is this an USB HID device? If it's an I2C HID or SPI HID device, we could also filter by bus type. Than all internal laptop devices would be hidden. |
This particular device doesn't seem to be an USB HID, so this would work too. |
This would be additional, because your change covers also the case of an HID touchpads on USB keyboards etc. |
An HID touchpad/screen could be mapped for effects control like here: https://youtu.be/vVfmMevmxxs?t=99 |
155b8af
to
9a226b8
Compare
I have added an other exclusion for Logitech G Pro mouse which also appears to be detected as a valid controller unfortunately. The reason behind this is that this mouse expose bunch of other HID interface which can be use to tweak the mouse setting (colors, DPIs) as well as accessing status (battery level) 2 cents thought as this issue likely impacts many other devices - could we have a whitelist instead of a blacklist? This whitelist could be a little bit more flexible (e.g no devices are shown by default if not present on distributed whitelist -> user is able to to bypass the whitelist and select their device from the list of all HID device -> whitelist gets updated so next user find their device right away) |
IMHO a whitelist is no good idea, because we can't filter for DJ controllers, because there is no specific usage table for DJ controllers. But we should also consider that many users use unofficial mappings. In our forum you find people, which are happy to use Mixxx with an HID game controller. |
The code itself is looking good to me. |
I head a second thought about it. When we have a controller with touch input, it should most likely mapped to a future QML instance which renders the screen content and not to the normal HID mapping. Therefore it fits to ignore the usage touch here. |
Thank you! |
Excluding ELAN touch screen, which fits XPS 15 laptops.
This should also exclude other touch screens, but unfortunately, the ELAN device exposes other HID usages through vendor specific and reserved usage pages (
01ff
,ff00
andff01
) so it cannot be excluded using the global rule.This fixes #11323.