Skip to content

Instantly share code, notes, and snippets.

@e-minguez
Created Aug 16, 2021
Embed
What would you like to do?
/etc/logid.cfg configuration file
devices: ({
name: "Wireless Mouse MX Master 2S";
// A lower threshold number makes the wheel switch to free-spin mode
// quicker when scrolling fast.
smartshift: { on: true; threshold: 16; };
hiresscroll: { hires: true; invert: false; target: false; };
// Higher numbers make the mouse more sensitive (cursor moves faster),
// 4000 max for MX Master 3.
dpi: 1000;
buttons: (
// Make thumb button 10.
{ cid: 0xc3; action = { type: "Keypress"; keys: ["KEY_LEFTMETA"]; }; },
// Make top button 11.
{ cid: 0xc4; action = { type: "Keypress"; keys: ["KEY_MUTE"]; }; },
// Back & forward = volume
{ cid: 0x53; action = { type: "Keypress"; keys: ["KEY_VOLUMEUP"]; }; },
{ cid: 0x56; action = { type: "Keypress"; keys: ["KEY_VOLUMEDOWN"]; }; }
);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment