Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

evdev keyboard mapping broken #9678

Open
akallabeth opened this issue Dec 19, 2023 · 1 comment
Open

evdev keyboard mapping broken #9678

akallabeth opened this issue Dec 19, 2023 · 1 comment
Milestone

Comments

@akallabeth
Copy link
Member

freerdp_keyboard_init tries to detect the keyboard layout and create a reverse map to get a scancode for a keypress.

when WITH_XKBFILE is not detected or fails, the detection falls back to freerdp_keyboard_init_x11_evdev.

this mapping is broken.

easily tested with a build that does not have libxkbfile-dev installed at compile time.

@akallabeth akallabeth added this to the stable-3.0-next milestone Dec 19, 2023
@cumt2010
Copy link

Yes, we meet the same problem.
freerdp_keyboard_init_x11_evdev -> GetVirtualKeyCodeFromKeycode, parameter should use WINPR_KEYCODE_TYPE_XKB instead of WINPR_KEYCODE_TYPE_EVDEV , can get correct result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants