Skip to content

Instantly share code, notes, and snippets.

@luiznegreiros
Last active January 27, 2024 20:08
Show Gist options
  • Save luiznegreiros/08b25baa925c5e6e531c5f4099aa8216 to your computer and use it in GitHub Desktop.
Save luiznegreiros/08b25baa925c5e6e531c5f4099aa8216 to your computer and use it in GitHub Desktop.
Configuração do logops (config mouse MX720) no linux
devices: (
{
name: "M720 Triathlon Multi-Device Mouse";
# smartshift:
# {
# on: true;
# threshold: 30;
# };
hiresscroll:
{
hires: true;
invert: false;
target: false;
};
# dpi: 1000;
buttons: (
{
cid: 0xd0;
action =
{
type: "Gestures";
gestures: (
{
direction: "Up";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_LEFTMETA", "KEY_PAGEUP"];
};
},
{
direction: "Down";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_LEFTMETA", "KEY_PAGEDOWN"];
};
},
{
direction: "Left";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_LEFTMETA", "KEY_HOME"];
};
},
{
direction: "Right";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_LEFTMETA", "KEY_END"];
};
},
{
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