As RFB vertical wheel events are based on X11's way of representing
these as buttons 4 and 5, it's only natural to extend button 6 and 7 to
represent horizontal wheel events. This behaviour is what is seen on
modern X servers.

Signed-off-by: Pierre Ossman <oss...@cendio.se>
---

Index: rfbproto.rst
===================================================================
--- rfbproto.rst        (revision 4429)
+++ rfbproto.rst        (working copy)
@@ -1086,9 +1086,9 @@
 
 On a conventional mouse, buttons 1, 2 and 3 correspond to the left,
 middle and right buttons on the mouse. On a wheel mouse, each step of
-the wheel upwards is represented by a press and release of button 4,
-and each step downwards is represented by a press and release of
-button 5.
+the wheel is represented by a press and release of a certain button.
+Button 4 means up, button 5 means down, button 6 means left and
+button 7 means right.
 
 =============== ==================== ========== =======================
 No. of bytes    Type                 [Value]    Description


-- 
Pierre Ossman            OpenSource-based Thin Client Technology
System Developer         Telephone: +46-13-21 46 00
Cendio AB                Web: http://www.cendio.com

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
tigervnc-rfbproto mailing list
tigervnc-rfbproto@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-rfbproto

Reply via email to