[Qemu-devel] [PATCH 2/2] input: introduce keyboard handler list

2013-04-24 Thread Gerd Hoffmann
Add a linked list of keyboard handlers. Added handlers will go to the head of the list. Removed handlers will be zapped from the list. The head of the list will be used for events. This fixes the keyboard-dead-after-usb-kbd-unplug issue, key events will be re-routed to the ps/2 kbd instead of b

Re: [Qemu-devel] [PATCH 2/2] input: introduce keyboard handler list

2013-03-07 Thread Markus Armbruster
Gerd Hoffmann writes: > Hi, > >> For mice, we have a monitor command mouse_set to select the active one. >> Useful for keyboards, too? I dimly recall somebody trying something >> like that in the past. > > Don't feel like doing that now. > > First, isn't important enough IMHO. > > Second, I'm

Re: [Qemu-devel] [PATCH 2/2] input: introduce keyboard handler list

2013-03-07 Thread Gerd Hoffmann
Hi, > For mice, we have a monitor command mouse_set to select the active one. > Useful for keyboards, too? I dimly recall somebody trying something > like that in the past. Don't feel like doing that now. First, isn't important enough IMHO. Second, I'm busy cleaning up console + display code

Re: [Qemu-devel] [PATCH 2/2] input: introduce keyboard handler list

2013-03-07 Thread Markus Armbruster
Gerd Hoffmann writes: > Add a linked list of keyboard handlers. Added handlers will go > to the head of the list. Removed handlers will be zapped from > the list. The head of the list will be used for events. > > This fixes the keyboard-dead-after-usb-kbd-unplug issue, key events > will be re-

[Qemu-devel] [PATCH 2/2] input: introduce keyboard handler list

2013-02-27 Thread Gerd Hoffmann
Add a linked list of keyboard handlers. Added handlers will go to the head of the list. Removed handlers will be zapped from the list. The head of the list will be used for events. This fixes the keyboard-dead-after-usb-kbd-unplug issue, key events will be re-routed to the ps/2 kbd instead of b