#kwininput — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #kwininput, aggregated by home.social.
-
Well, to ignore the boiling rage re: the imperial fascist murderous bullshit a certain pedophile is doing right now...
I received confirmation via the KWin IRC/Matrix that my understanding of the input event filters is correct, so I went ahead and hacked/debugged more. I'm pretty sure the reason 4 finger gestures weren't 'working' is because computers are fucking fast and the current logic in KWin basically ignores 'extra touches' when a swipe or gesture is already happening on the touchscreen. This makes sense, but the logic runs so quickly that I am accidentally starting a swipe gesture when my first 3 fingers hit the screen before the fourth finger can, so nothing happens. I played around with the logic a bit to confirm that was the case, and indeed, I can get it to cancel the existing swipe gesture and potentially start a new one once the fourth finger hits. Now I can pretty reliably do a four finger swipe on the touchscreen!
I hacked it such that the touchscreen and touchpad gestures are 1:1 so that's how I've been testing. It's not perfect logic and I suspect that if the distance parameter isn't satisfied, we won't want to cancel the existing swipe gesture, but now I'm asking in the chat what the best way to go about getting input and feedback on this is: make a PR? Make an issue, link to the (not yet uploaded) branch? Etc.
#kwin #kdePlasma #touchscreen #kwinInput