Skip to content

Instantly share code, notes, and snippets.

@andy-shi88
Created August 18, 2020 12:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andy-shi88/34994cdb5c69f51bbdb63f9a98ca9df3 to your computer and use it in GitHub Desktop.
Save andy-shi88/34994cdb5c69f51bbdb63f9a98ca9df3 to your computer and use it in GitHub Desktop.
logitech m590 mouse logiops configuration
devices: ({
name: "M585/M590 Multi-Device Mouse";
// A lower threshold number makes the wheel switch to free-spin mode
// quicker when scrolling fast.
smartshift: { on: true; threshold: 20; };
hiresscroll: { hires: false; invert: false; target: false; };
// Higher numbers make the mouse more sensitive (cursor moves faster),
// 4000 max for MX Master 3.
dpi: 1500;
buttons: (
// Make thumb button 10.
// Make top button 11.
{
cid: 0x0053; action = { type: "Keypress"; keys: ["KEY_LEFTMETA"];};
},
{
cid: 0x0056; action = { type: "Keypress"; keys: ["KEY_LEFTMETA", "KEY_A"];};
},
{ // scroll slide left
cid: 0x005b; action = { type: "Keypress"; keys: ["KEY_LEFTALT", "KEY_RIGHT"];};
},
{ // scroll slide right
cid: 0x005d; action = { type: "Keypress"; keys: ["KEY_LEFTALT", "KEY_LEFT"];};
},
{
cid: 0x00d7; action = { type: "Keypress"; keys: ["KEY_5"];};
},
);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment