Skip to content
Commit 28e3dc34 authored by Olivier Fourdan's avatar Olivier Fourdan 🛠 Committed by Christophe Fergeau
Browse files

Use scancode instead of keycode names



When running on Xwayland, the keycode mapping property is not available,
which causes unknown keycode mapping errors and the keyboard doesn't
work.

Check for a known scancode (“XK_Page_Up”) which differs to distinguish
between “xfree86” and “evdev” when the there is no keycode name.

Signed-off-by: default avatarOlivier Fourdan <ofourdan@redhat.com>
Reviewed-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
Acked-by: default avatarChristophe Fergeau <cfergeau@redhat.com>
parent d2700d35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment