Last active
November 1, 2021 23:34
-
-
Save saikatbsk/df52d35c109e6a0316eca80ac09c2c45 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
devices: ( | |
{ | |
name: "Wireless Mouse MX Master 2S"; | |
smartshift: | |
{ | |
on: true; | |
threshold: 20; | |
}; | |
hiresscroll: | |
{ | |
hires: true; | |
invert: false; | |
target: false; | |
}; | |
dpi: 1500; | |
buttons: ( | |
{ | |
cid: 0xc3; | |
action = | |
{ | |
type: "Gestures"; | |
gestures: ( | |
{ | |
direction: "None"; | |
mode: "OnRelease"; | |
action = | |
{ | |
type: "Keypress"; | |
keys: ["KEY_LEFTMETA"]; | |
}; | |
}, | |
{ | |
direction: "Up"; | |
mode: "OnRelease"; | |
action = | |
{ | |
type: "Keypress"; | |
keys: ["KEY_LEFTMETA", "KEY_UP"]; | |
}; | |
}, | |
{ | |
direction: "Down"; | |
mode: "OnRelease"; | |
action = | |
{ | |
type: "Keypress"; | |
keys: ["KEY_LEFTMETA", "KEY_DOWN"]; | |
}; | |
}, | |
{ | |
direction: "Left"; | |
mode: "OnRelease"; | |
action = | |
{ | |
type: "Keypress"; | |
keys: ["KEY_LEFTMETA", "KEY_LEFT"]; | |
}; | |
}, | |
{ | |
direction: "Right"; | |
mode: "OnRelease"; | |
action = | |
{ | |
type: "Keypress"; | |
keys: ["KEY_LEFTMETA", "KEY_RIGHT"]; | |
} | |
} | |
); | |
}; | |
}, | |
{ | |
cid: 0xc4; | |
action = | |
{ | |
type = "ToggleSmartshift"; | |
}; | |
} | |
); | |
}, | |
{ | |
# Another device to configure | |
name: "Other Logitech USB Receiver"; | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment