[GH-ISSUE #1749] Mouse buttons other than left, right, and middle are read incorrectly when assigning as hotkeys. #1291

Open
opened 2026-05-05 07:42:20 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @Ennis0 on GitHub (Aug 18, 2022).
Original GitHub issue: https://github.com/debauchee/barrier/issues/1749

What happened?

In the hotkey assignment window("Configure Server..." button > "Hotkeys" tab > "New" or "Edit" buttons), all of the buttons on my mouse except for the left, right, and middle(buttons 1, 3, and 2 respectively according to xinput) are read as various other keys*. Going through with the hotkey assignment and trying to use the given mouse button results in failure to trigger the hotkey. Using the key actually displayed in the hotkey dialog does trigger the hotkey.

The mouse hardware I'm using is a Logitech G502 Hero. I have it configured with a utility called Piper(https://github.com/libratbag/piper), a frontend for ratbagd(https://github.com/libratbag).

*button 10: Space
button 11: @
button 12: \u0080
button 14: \u0201
button 15: \u0450

Screencast from 08-18-2022 03:58:04 PM.webm

Version

v2.4.0

Git commit hash (if applicable)

No response

If applicable, where did you install Barrier from?

I installed Barrier following these instructions: https://github.com/debauchee/barrier-wiki/blob/master/Building-on-Linux.md

What OSes are you seeing the problem on? (Check all that apply)

Linux

What OS versions are you using?

Server: Debian GNU/Linux 11 (bullseye)
Client: Windows 10 Home

Relevant log output

No response

Any other information

Issue #1099 was the only extant issue I saw that looks like it may be related, although I confess I don't fully understand what the submitter is saying.

Originally created by @Ennis0 on GitHub (Aug 18, 2022). Original GitHub issue: https://github.com/debauchee/barrier/issues/1749 ### What happened? In the hotkey assignment window("Configure Server..." button > "Hotkeys" tab > "New" or "Edit" buttons), all of the buttons on my mouse except for the left, right, and middle(buttons 1, 3, and 2 respectively according to xinput) are read as various other keys*. Going through with the hotkey assignment and trying to use the given mouse button results in failure to trigger the hotkey. Using the key actually displayed in the hotkey dialog does trigger the hotkey. The mouse hardware I'm using is a Logitech G502 Hero. I have it configured with a utility called Piper(https://github.com/libratbag/piper), a frontend for ratbagd(https://github.com/libratbag). *button 10: Space button 11: @ button 12: \u0080 button 14: \u0201 button 15: \u0450 [Screencast from 08-18-2022 03:58:04 PM.webm](https://user-images.githubusercontent.com/111481561/185489846-49baaa11-e1c2-470b-9845-c1e21f8c419a.webm) ### Version v2.4.0 ### Git commit hash (if applicable) _No response_ ### If applicable, where did you install Barrier from? I installed Barrier following these instructions: https://github.com/debauchee/barrier-wiki/blob/master/Building-on-Linux.md ### What OSes are you seeing the problem on? (Check all that apply) Linux ### What OS versions are you using? Server: Debian GNU/Linux 11 (bullseye) Client: Windows 10 Home ### Relevant log output _No response_ ### Any other information Issue #1099 was the only extant issue I saw that looks like it may be related, although I confess I don't fully understand what the submitter is saying.
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/barrier#1291
No description provided.