[GH-ISSUE #398] [feature request] Respect key remaps by libxkbcommon #207

Open
opened 2026-05-05 22:14:00 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @kanghengliu on GitHub (Mar 19, 2026).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/398

Description

In hyprland and niri, they support defining keyboard remaps by libxkb:
niri:

keyboard {
    xkb {
        options "caps:escape"
    }
}

hyprland:

input {
    kb_options = caps:escape,altwin:swap_ralt_rwin
}

These are not honoured by lan-mouse when controlling a remote device. For example, when i'm pressing caps lock, in hyprland/niri i'm triggering escape, but when passed through lan-mouse, it's back to passing capslock.

Proposed change:

An configurable parameter to respect libxkbcommon would be great.

Originally created by @kanghengliu on GitHub (Mar 19, 2026). Original GitHub issue: https://github.com/feschber/lan-mouse/issues/398 ## Description In hyprland and niri, they support defining keyboard remaps by libxkb: niri: ``` keyboard { xkb { options "caps:escape" } } ``` hyprland: ``` input { kb_options = caps:escape,altwin:swap_ralt_rwin } ``` These are not honoured by lan-mouse when controlling a remote device. For example, when i'm pressing caps lock, in hyprland/niri i'm triggering escape, but when passed through lan-mouse, it's back to passing capslock. ## Proposed change: An configurable parameter to respect libxkbcommon would be great.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/lan-mouse#207
No description provided.