Skip to content

Instantly share code, notes, and snippets.

@luiznegreiros
Last active June 30, 2025 23:00
Show Gist options
  • Save luiznegreiros/89da796a030ee46456900e94da6dcc29 to your computer and use it in GitHub Desktop.
Save luiznegreiros/89da796a030ee46456900e94da6dcc29 to your computer and use it in GitHub Desktop.
Configuração do logops (config mouse MX Maser 3S) no linux
devices: (
{
name: "MX Master 3S";
smartshift:
{
on: true;
threshold: 50;
default_threshold: 50;
};
hiresscroll:
{
hires: false;
invert: false;
target: false;
};
dpi: 2000;
# thumbwheel:
# {
# divert: false;
# invert: false;
# left:
# {
# threshold: 1;
# interval: 3;
# direction: "Right";
# mode: "Axis";
# axis: "REL_WHEEL";
# axis_multiplier: 1;
## action = { type: "Keypress"; keys: ["KEY_LEFTCTRL", "KEY_PAGEUP"]; };
# };
# right:
# {
# threshold: 1;
# interval: 3;
# direction: "Left";
# mode: "Axis";
# axis: "REL_WHEEL";
# axis_multiplier: -1;
## action = { type: "Keypress"; keys: ["KEY_LEFTCTRL", "KEY_PAGEDOWN"]; };
# };
# };
buttons: (
{
cid: 0xc3;
action =
{
type: "Gestures";
gestures: (
{
direction: "Up";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_LEFTMETA", "KEY_HOME"];
};
},
{
direction: "Down";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_LEFTMETA", "KEY_END"];
};
},
{
direction: "Left";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_LEFTMETA", "KEY_PAGEUP"];
};
},
{
direction: "Right";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_LEFTMETA", "KEY_PAGEDOWN"];
};
},
{
direction: "None"
mode: "OnRelease"
action =
{
type: "Keypress";
keys: ["KEY_LEFTMETA"];
}
}
);
};
}
);
});
@luiznegreiros
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment