| Summary: | Use gestures to generate simulated mouse input | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | Jørgen Hermanrud Fjeld <jhf> |
| Component: | kcm_khotkeys | Assignee: | Lubos Lunak <l.lunak> |
| Status: | RESOLVED UNMAINTAINED | ||
| Severity: | wishlist | ||
| Priority: | NOR | ||
| Version First Reported In: | 5.20.3 | ||
| Target Milestone: | --- | ||
| Platform: | Debian testing | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Jørgen Hermanrud Fjeld
2004-04-13 18:46:52 UTC
Why don't you simply generate up/down keyboard events for scrolling? It doesn't work the same. Let me explain. The idea is that when the middle button is pressed down and held down while the mouse is moved, the distance between the point where it was pressed and the current location of the mouse cursor determines the rate for generating scrolling events. Let sb be mouse Scrolling Button (user assigned) let p_sbd be Point where SB was pressed Down let p_c be the current Point of the mouse Cursor while sb is still pressed let dx be the x axis difference between p_sbd and p_c let dy be the y axis difference between p_sbd and p_c let xr be the X axis keybord event fire Rate (user chosen) let yr be the Y axis keybord event fire Rate (user chosen) while sb is still pressed fire x axis scrolling events at rate dx*xr fire y axis scrolling events at rate dy*yr There is no way I can see of expressing this in the current mouse gesture framework. I was hoping that the mouse gesture framework could be extended to express this, or that it can be determined that this can not be handled by the mouse gesture machinery, and require X hacking. As announced in https://pointieststick.com/2023/07/26/what-we-plan-to-remove-in-plasma-6/ and https://community.kde.org/Plasma/Plasma_6#Removals, I'm afraid KHotKeys has reached end-of-life in Plasma 6. Accordingly, all bug reports and feature requests for it must be closed now. Most of what KHotKeys could do can already be done with the newer KGlobalAccel system in Plasma 6. A few features such as mouse gestures and triggering conditions based on changes to window states are not yet implemented in the new system. These will be added in the future if and when resources materialize for them, and/or when a kind soul submits patches to implement them! :) Meanwhile, the 3rd-party "Mouse Actions" app (https://github.com/jersou/mouse-actions) may be usable for implementing your own mouse gestures again. Thanks for your understanding, everyone. |