logiops icon indicating copy to clipboard operation
logiops copied to clipboard

Binding mouse gesture to a touchpad gesture

Open AMDG2 opened this issue 4 years ago • 4 comments
trafficstars

Is it possible to bind a mouse gesture to a touchpad gesture?

My use case is to use the MX Master 2s thumb button to emulate three-fingers gestures to allow switching between workspaces and overview in Gnome.

If it is possible right now, it would be nice to be able to bind a button gesture a touchpad with a configuration like this one:

 buttons: (
  {
    cid = 0xc3;
    action = 
      {
        type: "Gestures";
        gestures: (
        {
          direction: "All";
          action: {
            type: "TouchpadGestures";
            fingers: 3;
            mode: "Move"; # Drag, Pinch or other "kind" or gestures
          }
        }
        )

AMDG2 avatar Sep 06 '21 07:09 AMDG2

did you get this to work?

riekusr avatar Oct 18 '21 13:10 riekusr

did you get this to work?

It seems @AMDG2 has not made this work, this is just a concept.

S-trace avatar Dec 06 '21 21:12 S-trace

This isn't possible ATM but you can do the same thing by defining a keyboard shortcut for your window manager and then re-creating that shortcut in logiops for the gesture. It works really well!

If we could get 1:1 mappings like with touchegg or wayland working though that would literally be amazing

Sewdohe avatar Nov 20 '22 23:11 Sewdohe

I'm interested in adding this, will investigate later. Thanks for bringing it to my attention.

PixlOne avatar May 11 '23 03:05 PixlOne