Skip to content

Instantly share code, notes, and snippets.

@Tymotex
Created February 24, 2023 08:19
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 Tymotex/5d5bd546f41f9c09b48c609be4b1914d to your computer and use it in GitHub Desktop.
Save Tymotex/5d5bd546f41f9c09b48c609be4b1914d to your computer and use it in GitHub Desktop.
Linux LogiOps config for the MX Master 3. Path: /etc/logid.cfg
devices: (
{
name: "Wireless Mouse MX Master 3";
smartshift:
{
on: true;
threshold: 30;
};
hiresscroll:
{
hires: true;
invert: false;
target: false;
};
dpi: 1000;
thumbwheel:
{
invert: true;
}
buttons: (
{
cid: 0xc3;
action =
{
type: "Gestures";
gestures: (
{
direction: "Up";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_LEFTCTRL", "KEY_F10"];
};
},
{
direction: "Down";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_LEFTCTRL", "KEY_F7"];
};
},
# {
# direction: "Left";
# mode: "OnRelease";
# action =
# {
# type: "CycleDPI";
# dpis: [50, 500, 1000, 1500, 2000, 3000, 4000];
# };
# },
{
direction: "Left";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_LEFTMETA", "KEY_LEFT"];
};
},
# {
# direction: "Right";
# mode: "OnRelease";
# action =
# {
# type = "ToggleHiresScroll";
# }
# },
{
direction: "Right";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_LEFTMETA", "KEY_RIGHT"];
}
},
{
direction: "None"
mode: "NoPress"
}
);
};
},
{
cid: 0xc4;
action =
{
type = "ToggleSmartshift";
};
},
{
# Next tab instead of fwd in history, Comment to default behavior
#cid: 0x53;
#action =
#{
# type : "Keypress";
# keys: ["KEY_LEFTCTRL", "KEY_PAGEUP"];
#};
},
{
# Previous tab instead of back in history, Comment to default behavior
#cid: 0x56;
#action =
#{
# type : "Keypress";
# keys: ["KEY_LEFTCTRL", "KEY_PAGEDOWN"];
#};
}
);
},
{
# Another device to configure
name: "Other Logitech USB Receiver";
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment