Skip to content

Instantly share code, notes, and snippets.

@smmr0
Last active May 24, 2023 23:17
Show Gist options
  • Save smmr0/8a7c3e0fb946c531856d3e00269def30 to your computer and use it in GitHub Desktop.
Save smmr0/8a7c3e0fb946c531856d3e00269def30 to your computer and use it in GitHub Desktop.
logiops config
devices: (
{
name: "Wireless Mouse MX Master 3";
hiresscroll: {
hires: true;
invert: false;
target: false;
};
buttons: (
{
cid: 0xc3;
action: {
type: "Keypress";
keys: ["KEY_LEFTCTRL", "KEY_SPACE"];
};
},
{
cid: 0xc4;
action: {
type: "Gestures";
gestures: (
{
direction: "None";
action: {
type: "ToggleSmartShift";
};
},
{
direction: "Up";
mode: "OnInterval";
interval: 50;
action: {
type: "Keypress";
keys: ["KEY_LEFTCTRL", "KEY_LEFTALT", "KEY_UP"];
};
},
{
direction: "Down";
mode: "OnInterval";
interval: 50;
action: {
type: "Keypress";
keys: ["KEY_LEFTCTRL", "KEY_LEFTALT", "KEY_DOWN"];
};
},
{
direction: "Left";
mode: "OnInterval";
interval: 50;
action: {
type: "Keypress";
keys: ["KEY_LEFTCTRL", "KEY_LEFTSHIFT", "KEY_TAB"];
};
},
{
direction: "Right";
mode: "OnInterval";
interval: 50;
action: {
type: "Keypress";
keys: ["KEY_LEFTCTRL", "KEY_TAB"];
}
}
);
};
}
);
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment