Summary: | button scrolling for pointing stick cannot be used with middle button emulation | ||
---|---|---|---|
Product: | Wayland | Reporter: | ailin.nemui |
Component: | libinput | Assignee: | Peter Hutterer <peter.hutterer> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | peter.hutterer |
Version: | unspecified | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Bug Depends on: | |||
Bug Blocks: | 99845 | ||
Attachments: | evemu-describe for pointing stick |
Description
ailin.nemui
2016-04-07 09:58:36 UTC
Please attach an evemu-describe for this device, it'll have the dmi bits we'll need for the udev rule. Aside from that, I'll need to figure out how exactly we make this work with the middle emulation, e.g. when to release the button, etc. but shouldn't be too bad in libinput. Created attachment 122786 [details]
evemu-describe for pointing stick
From my experience with evdev, I can say that it works well if you use the existing middle mouse emulation to trigger a "down" of the middle button, and the release of all buttons as a "up" and simply pass these emulated events into the button scrolling code 4-patch series starting here https://lists.freedesktop.org/archives/wayland-devel/2016-April/027969.html hi, thanks for this patch, nice birthday present :-) seems to be working fine. I wish the scrolling could stay enabled after I let go of one of the buttons, though (and only end once both are released). thanks for testing, much appreciated. also, happy birthday ;) As for the scrolling staying enabled, this will be a bit tricky I think, the way it's hooked up scrolling doesn't know that it is triggered by an emulated button. For now, you'll have to live with the current bhaviour, sorry. commit 1662384b43fcff60270e20ade230dbccc70e78b8 Merge: 8ebe338 115c512 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Thu Apr 14 10:48:41 2016 +1000 Merge branch 'wip/trackpoint-mb-emu-scrolling' |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.