From 5f0d18b1d06ffb508c420d259e0d0ba19a166254 Mon Sep 17 00:00:00 2001 From: antistereov Date: Mon, 2 Mar 2026 12:50:08 +0100 Subject: [PATCH] feat(logid): enable logid support --- logiops/logid.cfg | 171 +++++++++++++++++++++++----------------------- 1 file changed, 86 insertions(+), 85 deletions(-) diff --git a/logiops/logid.cfg b/logiops/logid.cfg index ba33b60..daa34d0 100644 --- a/logiops/logid.cfg +++ b/logiops/logid.cfg @@ -1,91 +1,92 @@ devices: ( { - name: "MX Master 3S"; - smartshift: - { - on: true; - threshold: 15; - }; - hiresscroll: - // dpi: 1000; - { - 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; - } - }; - thumbwheel: { - invert: true; + name: "MX Master 3S"; + smartshift: + { + on: true; + threshold: 15; + }; + hiresscroll: + // dpi: 1000; + { + 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; } + }; + thumbwheel: { + invert: true; + } - buttons: ( - { // thumb button - cid: 0xc3; action = - { - type: "Gestures"; - gestures: ( - { - direction: "UP"; - mode: "OnFewPixels"; - pixels: 200; - action = - { - type: "Keypress"; - keys: ["KEY_LEFTCTRL", "KEY_F2"]; - }; - }, - { - direction: "DOWN"; - mode: "OnFewPixels"; - pixels: 200; - action = - { - type: "Keypress"; - keys: ["KEY_LEFTCTRL", "KEY_F1"]; - }; - }, - { - 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"]; - }; - }, - { - direction: "LEFT"; - mode: "NoPress"; - } - ); - }; - } + buttons: ( + { + // thumb button + cid: 0xc3; action = + { + type: "Gestures"; + gestures: ( + { + direction: "UP"; + mode: "OnFewPixels"; + pixels: 200; + action = + { + type: "Keypress"; + keys: ["KEY_LEFTCTRL", "KEY_F2"]; + }; + }, + { + direction: "DOWN"; + mode: "OnFewPixels"; + pixels: 200; + action = + { + type: "Keypress"; + keys: ["KEY_LEFTCTRL", "KEY_F1"]; + }; + }, + { + 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"]; + } + }, + { + direction: "LEFT"; + mode: "NoPress"; + } + ); + }; + } - ); -} + ); + } );