Skip to content

Mouse support only works during detection #470

@z0rzi

Description

@z0rzi

I just installed logiops on my system, and it works... only while the device detection is running.

Here is my /etc/logid.cfg file:

devices: ({
  name: "Wireless Mouse MX Master 3";

  smartshift: {
    on: true;
    threshold: 15;
  };

  hiresscroll: {
    hires: true;
    invert: false;
    target: false;
  };

  thumbwheel:
  {
    divert: true;
    invert: false;
    left:
    {
        interval: 1;
        direction: "Left";
        mode: "OnInterval";
        action =
        {
            type: "Keypress";
            keys: ["KEY_VOLUMEDOWN"];
        };
    };
    right:
    {
        interval: 1;
        direction: "Right";
        mode: "OnInterval";
        action =
        {
            type: "Keypress";
            keys: ["KEY_VOLUMEUP"];
        };
    };
  };

  dpi: 1500; // max=4000
});

When I run the following command:

sudo logid -v

I can regulate the volume using the thumb wheel of my mouse, but only for a few seconds, until the commands finishes. Then, it doesn't seem to work anymore.

Here is the output of logid -v:

[DEBUG] Unsupported device /dev/hidraw0 ignored
[DEBUG] Unsupported device /dev/hidraw1 ignored
[INFO] Device found: Wireless Mouse MX Master 3 on /dev/hidraw2:255
[DEBUG] /dev/hidraw2:255 remappable buttons:
[DEBUG] CID  | reprog? | fn key? | mouse key? | gesture support?
[DEBUG] 0x50 |         |         | YES        |
[DEBUG] 0x51 |         |         | YES        |
[DEBUG] 0x52 | YES     |         | YES        | YES
[DEBUG] 0x53 | YES     |         | YES        | YES
[DEBUG] 0x56 | YES     |         | YES        | YES
[DEBUG] 0xc3 | YES     |         | YES        | YES
[DEBUG] 0xc4 | YES     |         | YES        | YES
[DEBUG] 0xd7 | YES     |         |            | YES
[DEBUG] Thumb wheel detected (0x2150), capabilities:
[DEBUG] timestamp | touch | proximity | single tap
[DEBUG] YES       | YES   | YES       | YES
[DEBUG] Thumb wheel resolution: native (18), diverted (120)
[INFO] Device found: MX Keys Mini on /dev/hidraw3:255
[DEBUG] /dev/hidraw3:255 remappable buttons:
[DEBUG] CID  | reprog? | fn key? | mouse key? | gesture support?
[DEBUG] 0x34 |         |         |            |
[DEBUG] 0xd1 |         | YES     |            |
[DEBUG] 0xd2 |         | YES     |            |
[DEBUG] 0xd3 |         | YES     |            |
[DEBUG] 0xde |         | YES     |            |
[DEBUG] 0xe2 | YES     | YES     |            |
[DEBUG] 0xe3 | YES     | YES     |            |
[DEBUG] 0xe5 | YES     | YES     |            |
[DEBUG] 0xe7 | YES     | YES     |            |
[DEBUG] 0xe8 | YES     | YES     |            |
[DEBUG] 0xe9 | YES     |         |            |
[DEBUG] 0x103 | YES     | YES     |            |
[DEBUG] 0x108 | YES     | YES     |            |
[DEBUG] 0x10a | YES     | YES     |            |
[DEBUG] 0x117 | YES     |         |            |
[DEBUG] 0x11c | YES     | YES     |            |

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions