Re: [Qemu-devel] wrong behaviour of caps lock

2010-11-18 Thread Benjamin Drung
Am Montag, den 19.04.2010, 18:07 +0200 schrieb Stefan Weil: > Kevin Wolf schrieb: > > Am 19.04.2010 03:23, schrieb Jamie Lokier: > >> Benjamin Drung wrote: > >>> - /* SDL does not send the key up event, so we generate it */ > >> Was the original comment just plain wrong? > >> > >>> - kbd_put_keycod

Re: [Qemu-devel] wrong behaviour of caps lock

2010-04-19 Thread Stefan Weil
Kevin Wolf schrieb: > Am 19.04.2010 03:23, schrieb Jamie Lokier: >> Benjamin Drung wrote: >>> - /* SDL does not send the key up event, so we generate it */ >> Was the original comment just plain wrong? >> >>> - kbd_put_keycode(keycode); >>> - kbd_put_keycode(keycode | 0x80); >>> + if (ev->type == S

Re: [Qemu-devel] wrong behaviour of caps lock

2010-04-19 Thread Kevin Wolf
Am 19.04.2010 03:23, schrieb Jamie Lokier: > Benjamin Drung wrote: >> -/* SDL does not send the key up event, so we generate it */ > > Was the original comment just plain wrong? > >> -kbd_put_keycode(keycode); >> -kbd_put_keycode(keycode | 0x80); >> +if (ev->type =

Re: [Qemu-devel] wrong behaviour of caps lock

2010-04-18 Thread Jamie Lokier
Benjamin Drung wrote: > -/* SDL does not send the key up event, so we generate it */ Was the original comment just plain wrong? > -kbd_put_keycode(keycode); > -kbd_put_keycode(keycode | 0x80); > +if (ev->type == SDL_KEYUP) { > +kbd_put_keycode(keycode |

Re: [Qemu-devel] wrong behaviour of caps lock

2010-04-17 Thread Stefan Weil
Benjamin Drung schrieb: > Hi, > > We applied the attached patch in Ubuntu to fix the wrong behavior of > caps lock. > > Initial bug report: https://launchpad.net/bugs/427612 > > Testcase: Select German NEO 2 as keyboard layout and press "caps lock" + > "l". Then a "-" should appear instead of a "t"

[Qemu-devel] wrong behaviour of caps lock

2010-04-02 Thread Benjamin Drung
Hi, We applied the attached patch in Ubuntu to fix the wrong behavior of caps lock. Initial bug report: https://launchpad.net/bugs/427612 Testcase: Select German NEO 2 as keyboard layout and press "caps lock" + "l". Then a "-" should appear instead of a "t". -- Benjamin Drung Ubuntu Developer