Delta-based scroll events

Alexander Jones alex at weej.com
Sun Jul 6 06:00:51 PDT 2008


2008/7/6 Peter Hutterer <peter.hutterer at who-t.net>:
> true scrolling events are nothing but events on axes other than x/y. the X
> server doesn't really care what the semantics are (i.e. scrolling). And here
> is where the actual issue lies, there is no standard. The third axis is
> generally assumed to be pressure, beyond that it's anyone's guess. IIRC we
> support up to 32 axes per device, but the main issue is to know which axis
> does what.

Right. So if we could define some pair of axes, for the purpose of
this example 4 and 5, to be scrolling axes, then all I would need to
do is update the synaptics driver to generate those events and then
program GTK to interpret them as scrolling? Is that it?

> and of course - fixing this in X is only one step, you'll then have to go into
> every toolkit and fix it there as well. It's not an overnight project,
> unfortunately.

While it doesn't sound like an overnight project, it doesn't seem like
/that/ much work to me. Maybe that's just my naivity showing through.
Seems that half the problem is just defining a standard and getting
people to agree on it.

Thanks



More information about the xorg mailing list