Recognise evdev(xx)_aliases(yy) and xfree86(xx)_aliases(yy) as keymap names.
Newer Xorg use these with non-default kemaps (such as the ThinkPad keymap). git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7097 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
867abc7e50
commit
bb0574fe2b
4
sdl.c
4
sdl.c
@ -251,9 +251,9 @@ static int check_for_evdev(void)
|
||||
keycodes = XGetAtomName(info.info.x11.display, desc->names->keycodes);
|
||||
if (keycodes == NULL)
|
||||
fprintf(stderr, "could not lookup keycode name\n");
|
||||
else if (strstart(keycodes, "evdev_", NULL))
|
||||
else if (strstart(keycodes, "evdev", NULL))
|
||||
has_evdev = 1;
|
||||
else if (!strstart(keycodes, "xfree86_", NULL))
|
||||
else if (!strstart(keycodes, "xfree86", NULL))
|
||||
fprintf(stderr,
|
||||
"unknown keycodes `%s', please report to qemu-devel@nongnu.org\n",
|
||||
keycodes);
|
||||
|
Loading…
Reference in New Issue
Block a user