You are not logged in.

#1 2024-03-15 07:40:53

netbookcraze
Member
Registered: 2021-05-26
Posts: 5

evdev-based touchpad gestures for applications

I am working on a library meant for mapping touchpad gestures that are not supported by the default libinput-based solutions already available.
For now it detects when you are dragging your finger and it is within a certain distance away from a specific border out of the existing 4 (e.g. "is on bottom", "is on left").
The library is omniglass. It is used by mpv-omniglass to seek forwards or backwards when someome drags their finger on the bottom edge of the surface. (there's a video demonstrating it on the page)

Both the library and the mpv extension are available at the AUR. Let me know if you run into issues.
More gestures and extensions are planned, including:
- spiral motion detection (knows if you're vaguely drawing circles)
- virtual buttons and numpads
- slide bottom edge on browser to switch tabs (like firefox mobile)
- mode-switching (switch between these weird gestures and the old mouse cursor)


Chugging along on ancient hardware and terminal applications, i step away from the shiny dummy buttons.

Offline

Board footer

Powered by FluxBB