[PATCH RFC inputproto] Use flags for smooth scrolling, not axis labels.

Daniel Stone daniel at fooishbar.org
Mon Aug 15 04:09:57 PDT 2011


Hi,
Looks good to me generally, but:

On Mon, Aug 15, 2011 at 03:28:03PM +1000, Peter Hutterer wrote:
> +Newer X servers may provide scrolling information through specific
> +valuators to provide scroll events with more precision than the button
> +events. Valuators for axes sending scrolling information should have the
> +VertScroll or HorizScroll axis flag set. Devices that do not have scrolling
> +axes may label emulated scrolling axes with the 'Rel Vert Scroll' and 'Rel
> +Horiz Scroll' axis labels. These axes must also have the VertScroll or
> +HorizScroll axis flag set to mark them as scrolling valuators.

Hm, might be best to just leave the names out completely and let the
server pick whichever name it feels like.

> +The behavior of the server if there is more than one VertScroll or more than
> +one HorizScroll axes on the same device is undefined.

Hmm, howso?

Cheers,
Daniel


More information about the xorg-devel mailing list