Created
January 21, 2024 09:03
-
-
Save pank-su/c3c1738ade16001dccd0ef6ce85aadbc to your computer and use it in GitHub Desktop.
MX Master 3S config to gnome
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: "MX Master 3S"; | |
smartshift: | |
{ | |
on: true; | |
threshold: 30; | |
torque: 50; | |
}; | |
dpi: 1000; | |
hiresscroll: | |
{ | |
hires: false; | |
invert: false; | |
target: true; | |
up: { | |
mode: "Axis"; | |
axis: "REL_WHEEL"; | |
axis_multiplier: 2.0; | |
}, | |
down: { | |
mode: "Axis"; | |
axis: "REL_WHEEL"; | |
axis_multiplier: -2.0; | |
} | |
}; | |
buttons: ( | |
{ cid: 0xc3; | |
action = | |
{ | |
type: "Gestures"; | |
gestures: ( | |
{ | |
direction: "Up"; | |
mode: "OnRelease"; | |
action = | |
{ | |
type: "Keypress"; | |
keys: ["KEY_LEFTMETA"]; | |
}; | |
}, | |
{ | |
direction: "Down"; | |
mode: "OnRelease"; | |
action = | |
{ | |
type: "Keypress"; | |
keys: ["KEY_LEFTMETA"]; | |
}; | |
}, | |
{ | |
direction: "Right"; | |
mode: "OnRelease"; | |
action = | |
{ | |
type: "Keypress"; | |
keys: [ "KEY_LEFTCTRL", "KEY_LEFTALT", "KEY_RIGHT"]; | |
}; | |
}, | |
{ | |
direction: "Left"; | |
mode: "OnRelease"; | |
action = | |
{ | |
type: "Keypress"; | |
keys: [ "KEY_LEFTCTRL", "KEY_LEFTALT", "KEY_LEFT"]; | |
}; | |
}, | |
{ | |
direction: "None"; | |
mode: "NoPress"; | |
} | |
); | |
}; | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment