diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-13 13:29:40 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-13 13:29:40 +0000 |
commit | 8bb66d860148958cb48144f0c5e2dcaaa209a3cd (patch) | |
tree | e66a56e49e5eaef3d199708c672a29d36b7e69e8 | |
parent | bcb8c5535ddfe732b2262cb1d10a759ada4b221c (diff) | |
download | qemu-8bb66d860148958cb48144f0c5e2dcaaa209a3cd.tar.gz |
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).
aliguori: this is from r7097 in trunk by balrog
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/branches/stable_0_10@7098 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | sdl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -161,9 +161,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); |