aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authorMatt Brubeck <mbrubeck@limpet.net>2015-08-24 14:32:31 -0700
committerMatt Brubeck <mbrubeck@limpet.net>2015-08-24 15:44:02 -0700
commitc310f7bb803dda17467a353edf903d68c82fcfe4 (patch)
treeec30ff6514a8b93a11a75cf00ac8aee468ae93a0 /Cargo.toml
parent7dd98efccb61578e4aec7fdd166e81878fe84839 (diff)
downloadglutin-c310f7bb803dda17467a353edf903d68c82fcfe4.tar.gz
glutin-c310f7bb803dda17467a353edf903d68c82fcfe4.zip
Take XIScrollClassInfo::increment into account
From the "Smooth Scrolling" section of [XI2Proto.txt][1]: > One unit of scrolling in either direction is considered to be equivalent to > one button event, e.g. for a unit size of 1.0, -2.0 on an valuator type > Vertical sends two button press/release events for button 4. Likewise, a > button press event for button 7 generates an event on the Horizontal > valuator with a value of +1.0. The server may accumulate deltas of less than > one unit of scrolling. From [What's new in XI 2.1 - smooth scrolling][2]: > The increment defines what delta the driver considers to be one scroll > event. For an increment of +5, each delta of 5 should be regarded as one > scroll unit down. For an increment of -3, each delta of 3 should be regarded > as one scroll unit up (i.e. inverted). [1]: http://www.x.org/releases/X11R7.7/doc/inputproto/XI2proto.txt [2]: http://who-t.blogspot.com/2011/09/whats-new-in-xi-21-smooth-scrolling.html This fixes scrolling with my Microsoft mouse in X11 on Debian 8.1.
Diffstat (limited to 'Cargo.toml')
0 files changed, 0 insertions, 0 deletions