Skip to content

Instantly share code, notes, and snippets.

@fluffy-kaiju
Created November 8, 2024 19:44
Show Gist options
  • Save fluffy-kaiju/1eee05e2ca0fece42223c1b2c1152073 to your computer and use it in GitHub Desktop.
Save fluffy-kaiju/1eee05e2ca0fece42223c1b2c1152073 to your computer and use it in GitHub Desktop.
Logitech MX Master 3S logid.cfg logiops
#/etc/logid.cfg
devices: (
{
name: "MX Master 3S";
smartshift:
{
on: true;
threshold: 10;
};
hiresscroll:
{
hires: true;
invert: false;
target: false;
};
buttons: (
{
cid: 0xc3;
action =
{
type: "Gestures";
gestures: (
{
direction: "Up";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_VOLUMEUP"];
};
},
{
direction: "Down";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_VOLUMEDOWN"];
};
},
{
direction: "Left";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_LEFTCTRL", "KEY_LEFTMETA", "KEY_L"];
};
},
{
direction: "Right";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_LEFTCTRL", "KEY_LEFTMETA", "KEY_H"];
};
},
{
direction: "None";
mode: "NoPress";
}
);
};
},
{
cid: 0xc4;
action =
{
type = "ToggleSmartshift";
};
},
# {
# # Next tab instead of forward in history, comment to revert to default behavior
# cid: 0x53;
# action =
# {
# type : "Keypress";
# keys: ["KEY_LEFTCTRL", "KEY_PAGEUP"];
# };
# },
# {
# # Previous tab instead of back in history, comment to revert 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