[PATCH inputproto 4/4] Document smooth-scrolling support
Rui Tiago Cação Matos
tiagomatos at gmail.com
Fri Aug 12 05:01:50 PDT 2011
I'm not commenting on the changes themselves since I'm not that
familiar with this, but I spotted some typos below.
On 12 August 2011 05:40, Peter Hutterer <peter.hutterer at who-t.net> wrote:
> +Newer X servers may provide 'Rel Vert Scroll' and 'Rel Horiz Scroll' valuators
> +to provide scroll events with more precision than the button events. If these
> +valuators are present on a device, the server must provide two-way emulation
> +between these valuators and the legacy button events. A cumulative value of
> +1.0 in either magnitude is considered to be equivalent to one button event for
> +the legacy events, e.g., -2.0 on Rel Horiz Vert sends two button press/release
^^^^^^^^^^
Vert Scroll ?
> +events for button 4. Likewise, a button press event for button 7 generates a
> +Rel Horiz Scroll valuator event with a value of +1.0.
> @@ -1572,7 +1596,10 @@ KeyRelease, ButtonPress, ButtonRelease, Motion.
> valid for KeyPress events.
> PointerEmulated signaps that the event has been emulated from another
^^^^^^^
typo (interestingly, this doesn't seem to
exist on master)
> XI 2.x event for legacy client support, and that this event should
> - be ignored if the client listens for these events.
> + be ignored if the client listens for these events. This flag is
> + set on scroll ButtonPress and RawButtonPress events (buttons 4, 5, 6
> + and 7) if a smooth-scrolling event on the Rel Vert Scroll or
> + Rel Horiz Scroll axes was also generated.
Rui
More information about the xorg-devel
mailing list