Il 16/05/2013 17:17, Peter Maydell ha scritto: > On 16 May 2013 16:09, Paolo Bonzini <pbonz...@redhat.com> wrote: >> ... In XWindows, you get a KeyRelease for every KeyPress Event. In X, >> it looks something like this: >> >> PRPRPRPRPRPRPRPR > > Shouldn't we be abstracting this platform difference > out in the ui layer, rather than having to deal with it > in the ps2 device model? That is, we should define what > our key-repeat model is for the QEMU keyboard-event-handler > API, and then make sure all our UI frontends (gtk, sdl, > cocoa, etc) do what we require...
Yes, I am asking Amos to check which of our frontends comply. It needs to be checked in the host, because Linux guests emulate autorepeat anyway. Or you can test with FreeDOS. Paolo