Last active
January 30, 2022 16:49
-
-
Save omid/f59a1be50647d22c8be0d091deeb0af7 to your computer and use it in GitHub Desktop.
logiops config for Wireless Mouse MX Master 3 for 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
# Install logiops (eg. `paru -S logiops`) | |
# put it inside /etc/logid.cfg | |
# restart the logid service (eg. `sudo systemctl restart logid`) | |
devices: ( | |
{ | |
name: "Wireless Mouse MX Master 3"; | |
smartshift: | |
{ | |
on: true; | |
threshold: 30; | |
}; | |
hiresscroll: | |
{ | |
hires: false; | |
invert: false; | |
target: false; | |
}; | |
dpi: 1500; | |
# thumbwheel: | |
# { | |
# divert: true; | |
# invert: false; | |
# left: | |
# { | |
# threshold: 1; | |
# interval: 1; | |
# direction: "Left"; | |
# mode: "OnInterval"; | |
# action = | |
# { | |
# type: "Keypress"; | |
# keys: ["KEY_VOLUMEDOWN"]; | |
# }; | |
# }; | |
# right: | |
# { | |
# threshold: 1; | |
# interval: 1; | |
# direction: "Right"; | |
# mode: "OnInterval"; | |
# action = | |
# { | |
# type: "Keypress"; | |
# keys: ["KEY_VOLUMEUP"]; | |
# }; | |
# }; | |
# }; | |
buttons: ( | |
{ | |
cid: 0xc3; | |
action = | |
{ | |
type: "Gestures"; | |
gestures: ( | |
{ | |
direction: "Up"; | |
mode: "OnRelease"; | |
action = | |
{ | |
type: "Keypress"; | |
keys: ["KEY_LEFTMETA", "KEY_UP"]; | |
}; | |
}, | |
{ | |
direction: "Left"; | |
mode: "OnRelease"; | |
action = | |
{ | |
type: "Keypress"; | |
keys: ["KEY_LEFTMETA", "KEY_LEFT"]; | |
}; | |
} | |
{ | |
direction: "Right"; | |
mode: "OnRelease"; | |
action = | |
{ | |
type: "Keypress"; | |
keys: ["KEY_LEFTMETA", "KEY_RIGHT"]; | |
} | |
}, | |
# { | |
# direction: "Down"; | |
# mode: "OnRelease"; | |
# action = | |
# { | |
# type: "Keypress"; | |
# keys: ["KEY_LEFTCTRL", "KEY_F7"]; | |
# }; | |
# }, | |
# { | |
# direction: "Left"; | |
# mode: "OnRelease"; | |
# action = | |
# { | |
# type: "CycleDPI"; | |
# dpis: [50, 500, 1000, 1500, 2000, 3000, 4000]; | |
# }; | |
# }, | |
# { | |
# direction: "Right"; | |
# mode: "OnRelease"; | |
# action = | |
# { | |
# type = "ToggleHiresScroll"; | |
# } | |
# }, | |
{ | |
direction: "None" | |
mode: "NoPress" | |
} | |
); | |
}; | |
} | |
#, | |
# { | |
# cid: 0xe1; | |
# action = | |
# { | |
# type = "ToggleSmartshift"; | |
# }; | |
# }, | |
# { | |
# # Next tab instead of fwd in history, Comment to default behavior | |
# cid: 0x5b; | |
# action = | |
# { | |
# type : "Keypress"; | |
# keys: ["KEY_LEFTCTRL", "KEY_PAGEUP"]; | |
# }; | |
# }, | |
# { | |
# # Previous tab instead of back in history, Comment to default behavior | |
# cid: 0x5d; | |
# action = | |
# { | |
# type : "Keypress"; | |
# keys: ["KEY_LEFTCTRL", "KEY_PAGEDOWN"]; | |
# }; | |
# } | |
); | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment