Created
August 16, 2021 09:51
-
-
Save e-minguez/06c3f7478a90c4d9738f113bfe80632e to your computer and use it in GitHub Desktop.
/etc/logid.cfg configuration file
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
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