xserver-multidpi/hw/xfree86
Peter Hutterer 4c2f2cb4c8 dix: Add unaccelerated valuators to the ValuatorMask
Allows a mask to carry both accelerated and unaccelerated motion at the same
time.

This is required for xf86-input-libinput where the pointer acceleration
happens in libinput already, but parts of the server, specifically raw events
and DGA rely on device-specific unaccelerated data.

To ease integration add this as a second set to the ValuatorMask rather than
extending all APIs to carry a second, possibly NULL set of valuators.

Note that a valuator mask should only be used in either accel/unaccel or
standard mode at any time. Switching requires either a valuator_mask_zero()
call or unsetting all valuators one-by-one. Trying to mix the two will produce
a warning.

The server has a shortcut for changing a mask with the
valuator_mask_drop_unaccelerated() call. This saves us from having to loop
through all valuators on every event, we can just drop the bits we know we
don't want.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2015-05-20 12:44:58 +10:00
..
common dix: Add unaccelerated valuators to the ValuatorMask 2015-05-20 12:44:58 +10:00
ddc Convert hw/xfree86 to new *allocarray functions 2015-04-21 16:58:08 -07:00
dixmods Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
doc xfree86: Remove the memory of MTRR awareness 2014-09-16 11:58:53 -04:00
dri Convert hw/xfree86 to new *allocarray functions 2015-04-21 16:58:08 -07:00
dri2 Convert hw/xfree86 to new *allocarray functions 2015-04-21 16:58:08 -07:00
drivers modesetting: Include dix-config.h from dumb_bo.c 2015-05-12 08:02:11 -07:00
exa xfree86/exa: xf86GetOptValString returns const char * now 2014-01-12 10:14:50 -08:00
fbdevhw Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
glamor_egl glamor: Share code for put_image handling. 2014-06-15 23:20:09 +01:00
i2c Convert hw/xfree86 to new *allocarray functions 2015-04-21 16:58:08 -07:00
int10 int10: Fix error check for pci_device_map_legacy 2015-03-13 12:31:21 +10:00
loader Convert hw/xfree86 to new *allocarray functions 2015-04-21 16:58:08 -07:00
man xserver: add xorg.conf support for gpu devices. (v2.1) 2015-04-27 13:40:40 +10:00
modes Merge remote-tracking branch 'ajax/xserver-next' 2015-05-11 16:34:48 -07:00
os-support xfree86: drop if 0 hunk 2015-05-20 11:53:36 +10:00
parser xserver: add xorg.conf support for gpu devices. (v2.1) 2015-04-27 13:40:40 +10:00
ramdac Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
shadowfb Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
utils Add XNFcallocarray() to allow xnfcalloc() to check for overflow 2015-04-21 16:57:07 -07:00
vbe Convert hw/xfree86 to new *allocarray functions 2015-04-21 16:58:08 -07:00
vgahw Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
x86emu Drop trailing whitespaces 2014-11-12 10:25:00 +10:00
.gitignore Xorg: Add Xorg.wrap to hw/xfree86/.gitignore 2014-04-18 11:39:16 +02:00
Makefile.am xfree86: rename Xorg.bin to Xorg 2015-01-05 09:53:58 +10:00
sdksyms.sh symbols: Fix sdksyms.sh to cope with gcc5 2015-03-13 12:31:21 +10:00
xorg-wrapper.c xfree86: rename Xorg.bin to Xorg 2015-01-05 09:53:58 +10:00
Xorg.sh.in xfree86: rename Xorg.bin to Xorg 2015-01-05 09:53:58 +10:00
xorgconf.cpp xfree86: fix wrong DontZap documentation (#71113) 2014-05-24 20:02:56 +10:00