Last active
May 20, 2025 13:46
-
-
Save kshnkvn/fada6574c867602264b181ce4f636462 to your computer and use it in GitHub Desktop.
Logitech MX Master 3 configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// /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