Created
March 7, 2022 11:04
-
-
Save ygurin/e81af5807d64f237593c56d4a0621487 to your computer and use it in GitHub Desktop.
Logiops configuration file
This file contains hidden or 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
// logiops - https://github.com/PixlOne/logiops | |
// see instructions https://developpaper.com/logiops-set-logitech-mouse-buttons-and-gestures-under-linux/ | |
// see button mapping https://github.com/fin-ger/logitech-m720-config#button-cid-mapping | |
// see Linux key mapping https://github.com/torvalds/linux/blob/master/include/uapi/linux/input-event-codes.h | |
devices: ( | |
{ | |
name: "M720 Triathlon Multi-Device Mouse"; | |
buttons: ( | |
{ | |
cid: 0xd0; | |
action = | |
{ | |
type: "Gestures"; | |
gestures:( | |
{ | |
direction:"Up"; | |
mode="OnInterval"; | |
interval=75; | |
action= | |
{ | |
type:"Keypress"; | |
keys:["KEY_LEFTMETA"]; | |
} | |
}, | |
{ | |
direction:"Down"; | |
mode="OnInterval"; | |
interval=75; | |
action= | |
{ | |
type:"Keypress"; | |
keys:["KEY_LEFTMETA"]; | |
} | |
}, | |
{ | |
direction:"Left"; | |
mode="OnRelease"; | |
action= | |
{ | |
type:"Keypress"; | |
keys:["KEY_LEFTCTRL","KEY_LEFTALT", "KEY_RIGHT"]; | |
} | |
}, | |
{ | |
direction:"Right"; | |
mode="OnRelease"; | |
action= | |
{ | |
type:"Keypress"; | |
keys:["KEY_LEFTCTRL","KEY_LEFTALT", "KEY_LEFT"]; | |
} | |
}, | |
{ | |
direction:"None"; | |
mode="OnRelease"; | |
action= | |
{ | |
type:"Keypress"; | |
keys:["KEY_LEFTMETA"]; | |
} | |
} | |
) | |
}; | |
} | |
); | |
hiresscroll: | |
{ | |
hires: false; | |
invert: false; | |
target: false; | |
}; | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment