Message ID | 1338591268-23962-3-git-send-email-akong@redhat.com |
---|---|
State | New |
Headers | show |
On Sat, 2 Jun 2012 06:54:24 +0800 Amos Kong <akong@redhat.com> wrote: > (qemu) sendkey a > (qemu) sendkey 0x1e > (qemu) sendkey #0x1e > unknown key: '#0x1e' > > The last command doesn't work, '#' is not request before raw values. > > Signed-off-by: Amos Kong <akong@redhat.com> > --- > hmp-commands.hx | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/hmp-commands.hx b/hmp-commands.hx > index 18cb415..af18156 100644 > --- a/hmp-commands.hx > +++ b/hmp-commands.hx > @@ -513,8 +513,8 @@ STEXI > @findex sendkey > > Send @var{keys} to the emulator. @var{keys} could be the name of the I think we should do: s/emulator/guest Also applies to the schema doc. > -key or @code{#} followed by the raw value in either decimal or hexadecimal > -format. Use @code{-} to press several keys simultaneously. Example: > +key or the raw value in either decimal or hexadecimal format. Use > +@code{-} to press several keys simultaneously. Example: > @example > sendkey ctrl-alt-f1 > @end example
diff --git a/hmp-commands.hx b/hmp-commands.hx index 18cb415..af18156 100644 --- a/hmp-commands.hx +++ b/hmp-commands.hx @@ -513,8 +513,8 @@ STEXI @findex sendkey Send @var{keys} to the emulator. @var{keys} could be the name of the -key or @code{#} followed by the raw value in either decimal or hexadecimal -format. Use @code{-} to press several keys simultaneously. Example: +key or the raw value in either decimal or hexadecimal format. Use +@code{-} to press several keys simultaneously. Example: @example sendkey ctrl-alt-f1 @end example
(qemu) sendkey a (qemu) sendkey 0x1e (qemu) sendkey #0x1e unknown key: '#0x1e' The last command doesn't work, '#' is not request before raw values. Signed-off-by: Amos Kong <akong@redhat.com> --- hmp-commands.hx | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)