Skip to content

Instantly share code, notes, and snippets.

@kshnkvn
Last active May 20, 2025 13:46
Show Gist options
  • Save kshnkvn/fada6574c867602264b181ce4f636462 to your computer and use it in GitHub Desktop.
Save kshnkvn/fada6574c867602264b181ce4f636462 to your computer and use it in GitHub Desktop.
Logitech MX Master 3 configuration
// /etc/logid.cfg
// Configuration file for logiops (logid daemon)
// GitHub: https://github.com/PixlOne/logiops
// Basic Windows/MacOS-like gestures for GNOME Overview and workspace switching.
devices: ({
name: "Wireless Mouse MX Master 3";
dpi: 4000;
smartshift: {
on: true;
threshold: 10;
};
hiresscroll: {
hires: true;
invert: false;
target: false;
};
buttons: (
{
cid: 0xc3;
action = {
type: "Gestures";
gestures: (
{
direction: "Up";
mode: "OnRelease";
action = {
type: "Keypress";
keys: ["KEY_LEFTMETA", "KEY_UP"];
};
},
{
direction: "Down";
mode: "OnRelease";
action = {
type: "Keypress";
keys: ["KEY_LEFTMETA", "KEY_DOWN"];
};
},
{
direction: "Left";
mode: "OnRelease";
// mode: "OnGesture";
action = {
type: "Keypress";
keys: ["KEY_LEFTMETA", "KEY_LEFTALT", "KEY_LEFT"];
};
},
{
direction: "Right";
mode: "OnRelease";
// mode: "OnGesture";
action = {
type: "Keypress";
keys: ["KEY_LEFTMETA", "KEY_LEFTALT", "KEY_RIGHT"];
};
},
{
direction: "None";
mode: "OnRelease";
action = {
type: "Keypress";
keys: ["KEY_LEFTMETA"];
}
}
);
};
},
{
cid: 0xc4;
action = {
type: "ButtonPress";
button: 2;
};
}
);
});
// devices: +({
// name: "MX Keys Wireless Keyboard";
// buttons: ();
// });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment