-
-
Save NodokaMurmevent/c10dce14de794de97668f052d9e76b7f to your computer and use it in GitHub Desktop.
Logiops (Linux driver) configuration example for Logitech MX Master 3. Includes gestures, smartshift, DPI. Tested on logid v0.2.2-35-g1c209ed. File location: `/etc/logid.cfg`
This file contains 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
// Logiops (Linux driver) configuration for Logitech MX Master 3. | |
// Includes gestures, smartshift, DPI. | |
// Tested on logid v0.2.2-35-g1c209ed. | |
// File location: /etc/logid.cfg | |
devices: ({ | |
name: "Wireless Mouse MX Master 3"; | |
smartshift: { | |
on: true; | |
threshold: 15; | |
}; | |
hiresscroll: { | |
hires: false; | |
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" ]; | |
} | |
}, | |
{ | |
direction: "Up"; | |
mode: "OnRelease"; | |
action = { | |
type: "Keypress"; | |
keys: [ "KEY_PLAYPAUSE" ]; | |
} | |
}, | |
{ | |
direction: "Down"; | |
mode: "OnRelease"; | |
action = { | |
type: "Keypress"; | |
keys: [ "KEY_PLAYPAUSE" ]; | |
} | |
}, | |
{ | |
direction: "Right"; | |
mode: "OnRelease"; | |
action = { | |
type: "Keypress"; | |
keys: [ "KEY_NEXTSONG" ]; | |
} | |
}, | |
{ | |
direction: "Left"; | |
mode: "OnRelease"; | |
action = { | |
type: "Keypress"; | |
keys: [ "KEY_PREVIOUSSONG" ]; | |
} | |
} | |
); | |
}; | |
}, | |
// Back button | |
{ | |
cid: 0x53; | |
action = { | |
type: "Gestures"; | |
gestures: ( | |
{ | |
direction: "None"; | |
mode: "OnRelease"; | |
action = { | |
type: "Keypress"; | |
keys: [ "KEY_BACK" ]; | |
} | |
} | |
); | |
}; | |
}, | |
// Thumb button | |
{ | |
cid: 0xc3; | |
action = { | |
type: "Gestures"; | |
gestures: ( | |
{ | |
direction: "None"; | |
mode: "OnRelease"; | |
action = { | |
type: "Keypress"; | |
keys: [ "KEY_LEFTCTRL", "KEY_TAB" ]; | |
} | |
}, | |
{ | |
direction: "Right"; | |
mode: "OnRelease"; | |
action = { | |
type: "Keypress"; | |
keys: [ "KEY_LEFTCTRL", "KEY_PAGEDOWN" ]; | |
} | |
}, | |
{ | |
direction: "Left"; | |
mode: "OnRelease"; | |
action = { | |
type: "Keypress"; | |
keys: [ "KEY_LEFTCTRL", "KEY_PAGEUP" ]; | |
} | |
} | |
); | |
}; | |
}, | |
// Top button | |
{ | |
cid: 0xc4; | |
action = { | |
type: "Gestures"; | |
gestures: ( | |
{ | |
direction: "None"; | |
mode: "OnRelease"; | |
action = { | |
type: "ToggleSmartShift"; | |
} | |
}, | |
{ | |
direction: "Up"; | |
mode: "OnRelease"; | |
action = { | |
type: "ChangeDPI"; | |
inc: 1000, | |
} | |
}, | |
{ | |
direction: "Down"; | |
mode: "OnRelease"; | |
action = { | |
type: "ChangeDPI"; | |
inc: -1000, | |
} | |
} | |
); | |
}; | |
} | |
); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment