mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
input-linux: switch over to -object
This patches makes input-linux use -object instead of a new command line switch. So, instead of the switch ... -input-linux /dev/input/event$nr ... you must create an object this way: -object input-linux,id=$name,evdev=/dev/input/event$nr Bonus is that you can hot-add and hot-remove them via monitor now. Suggested-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Message-id: 1457681901-30916-1-git-send-email-kraxel@redhat.com
This commit is contained in:
parent
2538039f2c
commit
0e066b2cc5
3 changed files with 121 additions and 52 deletions
|
@ -1226,15 +1226,6 @@ STEXI
|
|||
Set the initial graphical resolution and depth (PPC, SPARC only).
|
||||
ETEXI
|
||||
|
||||
DEF("input-linux", 1, QEMU_OPTION_input_linux,
|
||||
"-input-linux <evdev>\n"
|
||||
" Use input device.\n", QEMU_ARCH_ALL)
|
||||
STEXI
|
||||
@item -input-linux @var{dev}
|
||||
@findex -input-linux
|
||||
Use input device.
|
||||
ETEXI
|
||||
|
||||
DEF("vnc", HAS_ARG, QEMU_OPTION_vnc ,
|
||||
"-vnc display start a VNC server on display\n", QEMU_ARCH_ALL)
|
||||
STEXI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue