Peter Hutterer
3304bbff9b
Input: Add smooth-scrolling support to GetPointerEvents
...
For scroll wheel support, we used to send buttons 4/5 and 6/7 for
horizontal/vertical positive/negative scroll events. For touchpads, we
really want more fine-grained scroll values. GetPointerEvents now
accepts both old-school scroll button presses, and new-style scroll axis
events, while emitting both types of events to support both old and new
clients.
This works with the new XIScrollClass to mark axes as scrolling axes.
Drivers mark any valuators that send scroll events with SetScrollValuator.
(Currently missing: the XIDeviceChangeEvent being sent when a driver changes
a scroll axis at run-time. This can be added later.)
Note: the SCROLL_TYPE enums are intentionally different values to the XI2
proto values to avoid copy/overlapping range bugs.
Co-authored-by: Daniel Stone <daniel@fooishbar.org>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
2011-09-30 09:24:18 +10:00
..
.gitignore
.gitignore: use common defaults with custom section #24239
2009-11-11 21:40:20 -08:00
callback.h
dix: optimize CallCallbacks
2010-10-13 09:24:06 -07:00
client.h
os: Add facilities for client ID tracking.
2010-12-23 13:53:18 +02:00
closestr.h
dixfonts: Deobfuscate GC ops calls.
2010-09-13 15:55:17 -07:00
closure.h
colormap.h
Quit using clientErrorValue in dix/colormap.c.
2010-05-13 17:14:07 -07:00
colormapst.h
Revert "Bug #6924 : Restore the ABI for DrawableRec and ColormapRec to the state"
2011-09-19 22:31:21 -07:00
cursor.h
Eliminate MAXSCREENS-sized CursorScreenKey array.
2011-09-19 22:53:05 -07:00
cursorstr.h
Change the devPrivates API to require dixRegisterPrivateKey
2010-06-05 19:23:03 -07:00
dix-config-apple-verbatim.h
dix-config.h.in
configure.ac: Remove unreachable check for VM86 headers.
2011-09-16 15:53:00 -05:00
dix.h
dix: rename ProcessRawEvents to dix/events.c:DeliverRawEvent
2011-06-08 13:57:05 +10:00
dixaccess.h
dixevents.h
dixfont.h
dix: use one single function to register fpe fonts
2010-06-24 13:55:28 -07:00
dixfontstr.h
dixgrabs.h
XKB: Add debug key actions for grabs & window tree
2011-07-01 08:46:20 +10:00
dixstruct.h
Remove unused ClientStateAuthenticating
2011-09-20 07:41:11 -07:00
eventconvert.h
Input: Allow EventToCore to return multiple events
2011-02-17 09:40:59 +10:00
events.h
XQuartz: Transition from xEvent based mieq to InternalEvent
2009-09-27 23:31:07 -07:00
eventstr.h
Input: Make DeviceEvent use doubles internally
2011-09-29 12:24:34 +10:00
exevents.h
Input: Add smooth-scrolling support to GetPointerEvents
2011-09-30 09:24:18 +10:00
extension.h
extinit.h
extnsionst.h
Declare functions that unconditionally call FatalError as _X_NORETURN.
2010-05-22 01:00:04 -07:00
gc.h
Un-export CreateScratchGC now that nothing external uses it.
2010-09-13 15:58:08 -07:00
gcstruct.h
Delete unused lastWinOrg field from GCs.
2010-09-13 15:55:17 -07:00
globals.h
config: add udev/systemd multi-seat support
2011-08-22 15:56:49 +10:00
hotplug.h
input.h
Input: Add POINTER_EMULATED flag to GetPointerEvents
2011-09-29 12:26:43 +10:00
inputstr.h
Input: Add smooth-scrolling support to GetPointerEvents
2011-09-30 09:24:18 +10:00
inpututils.h
Input: Convert ValuatorMask to double-precision internally
2011-09-29 12:23:51 +10:00
kdrive-config.h.in
kdrive: Add option to compile out input drivers
2010-01-06 19:47:53 +06:00
list.h
Add null-terminated list interface.
2011-08-22 15:56:53 +10:00
Makefile.am
os: Add facilities for client ID tracking.
2010-12-23 13:53:18 +02:00
misc.h
Use __builtin_constant_p to determine if we can use lswapl
2011-09-21 17:14:44 -04:00
miscstruct.h
opaque.h
dix: adds support for none root window background
2010-11-11 23:24:43 +02:00
os.h
os/log: Add LogVHdrMessageVerb and friends
2011-08-22 15:49:18 +10:00
pixmap.h
dix: Remove the memory of the multibuffer extension
2010-10-13 09:18:41 -07:00
pixmapstr.h
Revert "dix: Remove usage_hint from pixmaps, store it in ->drawable.class"
2011-03-17 23:48:52 -07:00
privates.h
"privates.h", line 198: warning: void function cannot return value
2011-05-27 19:52:10 -07:00
property.h
propertyst.h
dix: Shrink PropertyRec on LP64
2011-03-14 13:44:46 -04:00
protocol-versions.h
fixes: Add support for pointer barriers
2011-05-31 15:10:51 -04:00
ptrveloc.h
Input: Widen pointer acceleration types to double
2011-09-29 12:24:33 +10:00
region.h
regionstr.h
Add RegionInitBoxes(), and fix some buggy callers of RegionInit().
2011-04-22 21:39:31 -04:00
registry.h
resource.h
dix: Define RESTYPE as uint32_t
2011-03-14 13:57:20 -04:00
rgb.h
screenint.h
scrnintstr.h
Revert "dix: Remove usage_hint from pixmaps, store it in ->drawable.class"
2011-03-17 23:48:52 -07:00
selection.h
servermd.h
xfree86: nds32: add nds32 related definitions into include headers.
2010-09-23 15:35:48 -07:00
site.h
dix: delete logo hack screen saver
2010-11-11 23:20:35 +02:00
swaprep.h
swapreq.h
validate.h
version-config.h.in
window.h
DIX: Make PrintWindowTree actually useful
2011-07-01 08:46:15 +10:00
windowstr.h
composite: Inhibit window background paint with manual subwindow redirection
2011-08-03 20:46:36 -07:00
XIstubs.h
input: Purge AddOtherInputDevices DDX hook.
2010-09-01 15:26:52 +10:00
xkb-config.h.in
xkbfile.h
xkbrules.h
xkbsrv.h
xkb: Release XKB component names when compiling keymap.
2011-03-16 15:21:41 +10:00
xkbstr.h
xorg-config.h.in
Remove PC98 support.
2011-09-15 10:11:43 -05:00
xorg-server.h.in
xfree86: Fix the sdk headers to be multilib-safe
2011-02-23 13:39:22 -05:00
Xprintf.h
Add asprintf() implementation for platforms without it
2010-12-07 11:10:35 -08:00
xserver-properties.h
Input: Add vertical and horizontal scroll axes
2011-09-29 12:26:43 +10:00
xsha1.h
Move SHA1 computation from render/glyph.c to os/
2009-10-15 01:17:44 +02:00
xwin-config.h.in
Cygwin/X: Allow the default log location to be configurable
2010-03-16 14:02:17 +00:00