Skip to content

Instantly share code, notes, and snippets.

@djmango
Last active September 26, 2021 14:17
Show Gist options
  • Save djmango/3e2b53f96656d35d72668affb6b5cecd to your computer and use it in GitHub Desktop.
Save djmango/3e2b53f96656d35d72668affb6b5cecd to your computer and use it in GitHub Desktop.
my logid cfg file, for my mx master 3
devices: (
{
name: "Wireless Mouse MX Master 3";
smartshift:
{
on: true;
threshold: 25;
};
hiresscroll:
{
hires: true;
invert: false;
target: false;
};
dpi: 1500;
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: "Keypress";
keys: ["KEY_LEFTMETA", "KEY_LEFT"];
};
},
{
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"];
};
}
);
},
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment