AntiMicroX / AntiMicroX/antimicrox

UI Key Input button: Fix wrong keys for Wayland input

Offen
#721 0 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug enhancement Linux
Vorherrschende Sprache
C++
Sterne
4k
Forks
249
Ø Merge
13 Min.
Gemergte PRs (30 T.)
1

Beschreibung

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Is your feature request related to a problem? Please describe.

Key selection when running on Wayland calls X11 key lookup instead of Wayland key lookup, resulting in the wrong keys being stored as AntimicroX keycodes. #300

Key input selection would be better if it was disassociated from the UIs input codes.

### Describe the solution you'd like

Use xkbcomp for key code mapping

### Describe alternatives you've considered
* Detect if running on wayland platform, and use wayland key map function instead of x11 key map function
* Map from Qt key codes instead of native, in the UI.
* Use Uinput/Xinput for keyboard input to the UI

### Additional context

If the key code is mapped from native instead of Qt, and the Qt platform changes and is not detected, the wrong key code will be input on key input buttons.

If Qt key code is used, it should also enable key selection when running on QT `vnc` platform

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.