Skip to content

Instantly share code, notes, and snippets.

@kalenpw
Last active April 8, 2023 03:22
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 kalenpw/8756039bd7ea3845b71f4ab9234f21fb to your computer and use it in GitHub Desktop.
Save kalenpw/8756039bd7ea3845b71f4ab9234f21fb to your computer and use it in GitHub Desktop.
LogiOps config - MX Master 3 for Mac
// Logiops (Linux driver) configuration for Logitech MX Master 3 for Mac
// More or less mirrors the default Logi Options settings
// Ie mostly just the thumb button gestures
// Several options commented out for reference
// File location: /etc/logid.cfg
devices: ({
name: "MX Master 3 for Mac";
//smartshift: {
// on: true;
// threshold: 15;
//};
hiresscroll: {
hires: true;
invert: false;
target: false;
};
dpi: 1500; // max=4000
//Thumbwheel control left/right or up/down for MX Master 3
//thumbwheel: {
// divert: true;
// invert: false;
// left: {
// threshhold: 1;
// interval: 2;
// direction: "Left";
// mode: "OnInterval";
// action = {
// type: "Keypress"; keys: ["KEY_VOLUMEDOWN"]
// };
// };
// right: {
// threshhold: 1;
// interval: 2;
// direction: "Right";
// mode: "OnInterval";
// action = {
// type: "Keypress"; keys: ["KEY_VOLUMEUP"]
// };
// };
//};
buttons: (
// Forward button
//{
// cid: 0x56;
// action = {
// type: "Gestures";
// gestures: (
// {
// direction: "None";
// mode: "OnRelease";
// action = {
// type: "Keypress";
// keys: [ "KEY_FORWARD" ];
// }
// },
// );
// };
//},
//// Back button
//{
// cid: 0x53;
// action = {
// type: "Gestures";
// gestures: (
// {
// direction: "None";
// mode: "OnRelease";
// action = {
// type: "Keypress";
// keys: [ "KEY_BACK" ];
// }
// }
// );
// };
//},
// Middle Mouse Button
//{
// cid: 0x52;
// action = {
// type: "Gestures";
// gestures: (
// {
// direction: "None";
// mode: "OnRelease";
// action = {
// type: "Keypress";
// keys: [ "KEY_COPY" ];
// }
// },
// );
// };
//},
// Thumb button for Gesture
{
cid: 0xc3;
action = {
type: "Gestures";
gestures: (
{
direction: "None";
mode: "OnRelease";
action = {
type: "Keypress";
keys: [ "KEY_LEFTMETA"];
}
},
{
direction: "Right";
mode: "OnRelease";
action = {
type: "Keypress";
keys: [ "KEY_LEFTCTRL", "KEY_LEFTALT", "KEY_L" ];
}
},
{
direction: "Left";
mode: "OnRelease";
action = {
type: "Keypress";
keys: [ "KEY_LEFTCTRL", "KEY_LEFTALT", "KEY_H" ];
}
},
//{
// direction: "Up";
// mode: "OnRelease";
// action = {
// type: "Keypress";
// keys: [ "KEY_LEFTCTRL", "KEY_UP" ];
// }
//},
//{
// direction: "Down";
// mode: "OnRelease";
// action = {
// type: "Keypress";
// keys: [ "KEY_LEFTCTRL", "KEY_DOWN" ];
// }
//}
);
};
},
// Top button for Toggle SmartShift
{
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