Skip to content
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

Gestures does not work for plugin activation #2568

Open
mark-herbert42 opened this issue Jan 27, 2025 · 5 comments
Open

Gestures does not work for plugin activation #2568

mark-herbert42 opened this issue Jan 27, 2025 · 5 comments
Labels

Comments

@mark-herbert42
Copy link

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.

@marcusbritanicus
Copy link
Contributor

marcusbritanicus commented Jan 27, 2025

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.

@mark-herbert42
Copy link
Author

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?

@ammen99
Copy link
Member

ammen99 commented Jan 28, 2025

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.

@marcusbritanicus
Copy link
Contributor

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.

@mark-herbert42
Copy link
Author

mark-herbert42 commented Feb 1, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants