Skip to content

MX Master 3S gesture button not remappable (BTN_FORWARD only, no key events) #557

Description

@brokkoli71

Hi, thanks for the tool :) I tried to use the thumb button of the MX Master 3S to scroll through workspaces. Maybe its a fault on my end but I did not manage to get this working.

Summary

On an Omarchy (Hyprland/Wayland) system, the MX Master 3S gesture (thumb) button only emits BTN_FORWARD pointer events. logiops does not remap the gesture button to keypresses or gestures, even when mapping multiple CIDs to keypresses. As a result, no key events appear in wev and Hyprland never receives the configured key combos.

Environment:
  • Distro: Omarchy (Arch-based)
  • DE/WM: Hyprland (Wayland)
  • logiops/logid: v0.3.5
  • Connection: Logitech USB receiver (detected at /dev/hidraw2)
  • Device: "MX Master 3S"

logid -v output:

[INFO] Detected receiver at /dev/hidraw2
[INFO] Device found: MX Master 3S on /dev/hidraw2:3
[DEBUG] /dev/hidraw2:3 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

Test config (no gestures, simple keypress to identify CID):

devices: (
{
    name: "MX Master 3S";
    buttons: (
        { cid: 0x52; action = { type: "Keypress"; keys: ["KEY_F13"]; }; },
        { cid: 0x53; action = { type: "Keypress"; keys: ["KEY_F14"]; }; },
        { cid: 0x56; action = { type: "Keypress"; keys: ["KEY_F15"]; }; },
        { cid: 0xc3; action = { type: "Keypress"; keys: ["KEY_F16"]; }; },
        { cid: 0xc4; action = { type: "Keypress"; keys: ["KEY_F17"]; }; },
        { cid: 0xd7; action = { type: "Keypress"; keys: ["KEY_F18"]; }; }
    );
}
);
Steps to reproduce:
  1. Set the above config in /etc/logid.cfg
  2. Restart logid: sudo systemctl restart logid
  3. Run wev
  4. Press the MX Master 3S gesture (thumb) button
Expected:
  • wev shows one of F13–F18 keypress events (confirming the CID mapping), or
  • gestures defined on the CID produce keypress events.
Actual:
  • wev shows only pointer events for BTN_FORWARD (button 277), no keypress events:
    [wl_pointer] button: ... button: 277 (forward), state: 1/0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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