Skip to content

Instantly share code, notes, and snippets.

@Bapannarama
Last active July 5, 2022 18:12
Show Gist options
  • Save Bapannarama/288eb2eb028ea572e17966a41ca25eec to your computer and use it in GitHub Desktop.
Save Bapannarama/288eb2eb028ea572e17966a41ca25eec to your computer and use it in GitHub Desktop.
devices: (
{
name: "Wireless Mouse MX Master 3";
smartshift:
{
on: true;
threshold: 30;
};
hiresscroll:
{
hires: true;
invert: false;
target: false;
};
dpi: 2300;
buttons: (
{
cid: 0xc4;
action =
{
type = "ToggleSmartshift";
};
},
{
cid: 0xc3;
action =
{
type = "Gestures";
gestures: (
{
direction: "Up";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_LEFTCTRL", "KEY_LEFTMETA", "KEY_UP"];
};
},
{
direction: "Down";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_LEFTCTRL", "KEY_LEFTMETA", "KEY_DOWN"];
};
},
{
direction: "Left";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_LEFTCTRL", "KEY_LEFTMETA", "KEY_LEFT"];
};
},
{
direction: "Right";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_LEFTCTRL", "KEY_LEFTMETA", "KEY_RIGHT"];
};
},
{
direction: "None";
mode: "OnRelease";
action =
{
type: "Keypress";
keys: ["KEY_LEFTCTRL", "KEY_F10"];
};
}
);
};
}
);
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment