Find a file
Peter Hutterer 7d5a303cd8 Move scroll information into a new class.
Using labels only to mark smooth scrolling axes disallows scrolling from
hardware events (e.g. a mouse wheel). If those axes are marked as scrolling
axes instead, the clients lose information which hardware axis this event
corresponds to.

For example, on Wacom devices, the client can benefit from smooth scrolling
on the strip or wheel event but may still require the knowledge whether the
axis is a vertical strip (e.g. Intuos3) or a absolute scrolling wheel (e.g.
Intuos4).

Thus, add a new class to XIQueryDevice that represents scrolling information
on a valuator. One of these ScrollClass may exist for each ValuatorClass if
that valuator is a scrolling valuator. The increment field of this class
removes the requirement for 1.0 == 1 unit of scrolling.

This isn't true in most cases, especially where physical scroll axes are
involved. Wacom Intuos4 scroll rings have a unit size of 3.0 and the driver
historically sent one scroll event per 3.0 increment or decrement. Mapping
one scroll event to 1.0 makes the ring mostly unusable through legacy
button events.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2011-09-02 14:53:01 +10:00
specs Move scroll information into a new class. 2011-09-02 14:53:01 +10:00
.gitignore .gitignore: use common defaults with custom section # 24239 2009-11-15 13:22:55 -05:00
autogen.sh Initial build system files for proto module. 2005-05-06 01:46:30 +00:00
configure.ac Bump to 2.0.99 2011-09-02 14:48:40 +10:00
COPYING Add Red Had Copyright in the COPYING file. 2009-12-22 16:45:54 -05:00
inputproto.pc.in Change all the protonames from <extension>Ext to <extension>Proto. 2005-05-09 18:20:04 +00:00
Makefile.am specs: convert XI2proto.txt to html using asciidoc 2011-03-16 13:02:32 -04:00
README README: file created or updated #24206 2009-11-16 11:13:30 -05:00
XI.h Move the XI2 index into versions[] over to XI2.h 2009-06-01 09:13:22 +10:00
XI2.h Move scroll information into a new class. 2011-09-02 14:53:01 +10:00
XI2proto.h Move scroll information into a new class. 2011-09-02 14:53:01 +10:00
XIproto.h Define the Cursor datasize correctly 2009-04-22 12:45:13 +10:00

				X Input Extension		

This extension defines a protocol to provide additional input devices
management such as graphic tablets.

Extension name: XInputExtension

All questions regarding this software should be directed at the
Xorg mailing list:

        http://lists.freedesktop.org/mailman/listinfo/xorg

Please submit bug reports to the Xorg bugzilla:

        https://bugs.freedesktop.org/enter_bug.cgi?product=xorg

The master development code repository can be found at:

        git://anongit.freedesktop.org/git/xorg/proto/inputproto

        http://cgit.freedesktop.org/xorg/proto/inputproto

For patch submission instructions, see:

	http://www.x.org/wiki/Development/Documentation/SubmittingPatches

For more information on the git code manager, see:

        http://wiki.x.org/wiki/GitPage