qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 3/3] doc: document the Pseudo-encoding of LED st


From: Lei Li
Subject: Re: [Qemu-devel] [PATCH 3/3] doc: document the Pseudo-encoding of LED state
Date: Thu, 25 Apr 2013 10:25:48 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0

On 04/24/2013 10:57 PM, Eric Blake wrote:
On 04/24/2013 04:12 AM, Lei Li wrote:
Signed-off-by: Lei Li <address@hidden>
---
  docs/vnc-ledstate-Pseudo-encoding.txt |   40 +++++++++++++++++++++++++++++++++
  1 files changed, 40 insertions(+), 0 deletions(-)
  create mode 100644 docs/vnc-ledstate-Pseudo-encoding.txt

+
+The Pseudo-encoding number for LED state defined as:
+
+======= ===============================================================
+Number  Name
+======= ===============================================================
+-261    'LED state Pseudo-encoding'_
Is the trailing _ intentional?

Yes, add this trailing '_' to indicate that this is a quoted context and you can
locate its section somewhere.
I saw this style used in RFB protocol, but it's not necessary. I'd get rid of it
if you don't like it. :)


+======= ===============================================================
+
+LED state Pseudo-enconding
s/enconding/encoding/

Sure.

+--------------------------
+
+The LED state Pseudo-encoding describes the encoding of LED state which
+consists of 3 bits, each bit represents the Caps, Num, and Scroll lock
+key respectively. '1' indicates that the LED should be on and '0' should
+be off.
Which bit is which?  Is bit 0 the Caps lock LED?

Caps lock key is represented as '100', and Scroll lock key is represented as 
'001'.
Sorry, I should describe it more clearly.
Or maybe I should include the example of the encodings defined?




--
Lei




reply via email to

[Prev in Thread] Current Thread [Next in Thread]