wayfire icon indicating copy to clipboard operation
wayfire copied to clipboard

Gestures does not work for plugin activation

Open mark-herbert42 opened this issue 11 months ago • 5 comments

Set the config ad described - like

KEY_TAB | hotspot bottom-right 10x10 100 | hotspot bottom-left 10x10 100 | swipe up 4

Key works, hotspots work, swipe - does not. Swipe workspace plugin works OK, firefox detects gestures OK as well - so seems that touchpad hardware do support gestures.

mark-herbert42 avatar Jan 27 '25 12:01 mark-herbert42

swipe, pinch and edge-swipe represent the touch_screen_ gestures, as opposed to touch_pad_ gestures. Wiki

Firefox has inbuilt mechanism to "read" touchpad gestures, and has nothing to do with wayfire.

"Swipe workspace" comes from the viewport-swipe plugin, which is specifically designed to read touchpad gestures.

marcusbritanicus avatar Jan 27 '25 16:01 marcusbritanicus

well, then it should be enhancement not a bug... Firefox does not make a difference between tuchpad and touchscreen, so does Windows. using touchpad gestures may allow to configure somethong macos-like with touchpad. I am not an expert here but seems that this touchscreen / touchpad separation is done just in Wayfire code not in the drivers?

mark-herbert42 avatar Jan 28 '25 05:01 mark-herbert42

well, then it should be enhancement not a bug... Firefox does not make a difference between tuchpad and touchscreen, so does Windows. using touchpad gestures may allow to configure somethong macos-like with touchpad. I am not an expert here but seems that this touchscreen / touchpad separation is done just in Wayfire code not in the drivers?

Quite the opposite, they are separate devices with different ways of procssing events.

ammen99 avatar Jan 28 '25 07:01 ammen99

I too thought so, but I wasn't sure of it. However, @ammen99, I think the idea is good 🙂. It would be nice to input gestures using touchpad. At least, a few things like swipes, pinch/pan and such.

marcusbritanicus avatar Jan 28 '25 09:01 marcusbritanicus

Modern laptops have big touchpads that do support gestures in hardware - but still there is a big - even huge - difference in the way of working betwen Macbook (with MacOS) and all others. Mac user usually say I do not use mouse because my touchpad is a way better tool to work with laptop, while PC users mainly try to use mouse instead of tochpad whenever they can...

If it is possible to add gesture support to touchpad - it may bring mac-like experice to linux finally

mark-herbert42 avatar Feb 01 '25 04:02 mark-herbert42