logiops
logiops copied to clipboard
MX vertical mouse gesture action doesn't work
Hi, I have no errors but my config for gestures on back button doesn't work. This is ma config:
devices: (
{
name: "MX Vertical Advanced Ergonomic Mouse";
smartshift:
{
on: true;
threshold: 30;
};
hiresscroll:
{
hires: true;
invert: false;
target: false;
};
dpi: 1200;
buttons: (
{
cid: 0x53;
action =
{
type: "Gestures";
gestures: (
{
direction: "Left";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_COPY"];
};
},
{
direction: "Right";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_PASTE"];
};
},
{
direction: "None"
mode: "NoPress"
}
);
};
}
);
}
);
I juste wan't a copy and a paste action (for the moment). Anyone can tell me what is not good in my file?
If you're trying to use the "DPI switch button" at the top of the mouse, you're using the wrong cid. The MX Vertical is strange in that regard. The correct cid is: 0xfd, not 0x53.
If you're trying to use the "DPI switch button" at the top of the mouse, you're using the wrong cid. The MX Vertical is strange in that regard. The correct cid is: 0xfd, not 0x53.
No, I try to use the "backward button" and the "forward button". The two lateral button of the mouse. (thanks for your reply)
Have you tried only 0x53? The wiki lists four different IDs for the back button. Namely: 0x0053, 0x0054, 0x00bd and 0x00ce.
Have you tried only 0x53? The wiki lists four different IDs for the back button. Namely: 0x0053, 0x0054, 0x00bd and 0x00ce.
I tried this just now and it doesn't work.
Have you tried start from a scratch config file with only key settings? I don't think
smartshift:
{
on: true;
threshold: 30;
};
hiresscroll:
{
hires: true;
invert: false;
target: false;
};
is supported by vertical, I just found the issue.
And have you tried to run ./logiops with -v?
The configuration that I use for the Logitech MX Vertical, the top button is used for the window snapping gesture.
// Logiops (Linux driver) configuration for Logitech MX Vertical Advanced Ergonomic Mouse
// Includes gestures
// Tested on logid v0.2.2-59-g6bb4700 - GNOME Shell 42.9 on Ubuntu 22.04.4 LTS
// Whats working:
// 1. Window snapping using Gesture button (Top button)
// 2. Forward Back Buttons
// File location: /etc/logid.cfg
devices: ({
name: "MX Vertical Advanced Ergonomic Mouse";
smartshift: {
on: true;
threshold: 15;
};
hiresscroll: {
hires: true;
invert: false;
target: false;
};
dpi: 1500; // max=4000
buttons: (
// Forward button
{
cid: 0x56;
action = {
type: "Gestures";
gestures: (
{
direction: "None";
mode: "OnRelease";
action = {
type: "Keypress";
keys: [ "KEY_FORWARD" ];
}
}
);
};
},
// Back button
{
cid: 0x53;
action = {
type: "Gestures";
gestures: (
{
direction: "None";
mode: "OnRelease";
action = {
type: "Keypress";
keys: [ "KEY_BACK" ];
}
}
);
};
},
// Gesture button (hold and move)
{
cid: 0xfd;
action = {
type: "Gestures";
gestures: (
{
direction: "None";
mode: "OnRelease";
action = {
type: "Keypress";
keys: [ "KEY_LEFTMETA" ]; // open activities overview
}
},
{
direction: "Right";
mode: "OnRelease";
action = {
type: "Keypress";
keys: [ "KEY_LEFTMETA", "KEY_RIGHT" ]; // snap window to right
}
},
{
direction: "Left";
mode: "OnRelease";
action = {
type: "Keypress";
keys: [ "KEY_LEFTMETA", "KEY_LEFT" ];
}
},
{
direction: "Up";
mode: "onRelease";
action = {
type: "Keypress";
keys: [ "KEY_LEFTMETA", "KEY_UP" ]; // maximize window
}
},
{
direction: "Down";
mode: "OnRelease";
action = {
type: "Keypress";
keys: [ "KEY_LEFTMETA", "KEY_DOWN" ]; // minimize window
}
}
);
};
}
);
});
Can you share the root location of etc/logid.cfg as I am getting error. [INFO] Config file does not exist, using empty config. [INFO] Detected receiver at /dev/hidraw5
Can you share the root location of etc/logid.cfg as I am getting error. [INFO] Config file does not exist, using empty config. [INFO] Detected receiver at /dev/hidraw5
/etc/logid.cfg
is literal in its meaning; /etc/logid.cfg
ain't the same as etc/logid.cfg
.
Got it , config is detecting, but there is no change using it. so there is any thing else need to do except sudo logid.