xserver-multidpi/hw/xquartz
Chase Douglas 65c0fc81eb Add support for per-axis valuator modes (Relative/Absolute)
The XI2 protocol supports per-axis modes, but the server so far does
not. This change adds support in the server.

A complication is the fact that XI1 does not support per-axis modes.
The solution provided here is to set a per-device mode that defines the
mode of at least the first two valuators (X and Y). Note that initializing
the first two axes to a different mode than the device mode will fail.

For XI1 events, any axes following the first two that have the same mode
will be sent to clients, up to the first axis that has a different mode.
Thus, if a device has relative, then absolute, then relative mode axes,
only the first block of relative axes will be sent over XI1.

Since the XI2 protocol supports per-axis modes, all axes are sent to the
client.

Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
2010-10-22 13:37:57 +10:00
..
bundle XQuartz: Localization updates 2010-09-11 14:25:21 -07:00
doc
GL XQuartz: GLX: Don't mangle __GLXDrawable's pDraw 2010-07-28 18:11:38 -07:00
mach-startup Replace malloc/strlen/strcpy with strdup. 2010-08-27 19:05:48 -04:00
pbproxy XQuartz: xpbproxy: Don't take down the whole server on an IO error 2010-07-29 11:41:32 -07:00
xpr XQuartz: RandR: Don't change the rootless preference when changing RandR mode 2010-09-28 09:50:35 -07:00
applewm.c XQuartz: Move use of static dispatch procs after declaration 2010-09-28 09:50:34 -07:00
applewmExt.h
darwin.c Add support for per-axis valuator modes (Relative/Absolute) 2010-10-22 13:37:57 +10:00
darwin.h Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
darwinEvents.c Abstract valuator masks through a set of APIs. 2010-10-22 11:02:48 +10:00
darwinEvents.h
darwinfb.h
darwinXinput.c input: Purge AddOtherInputDevices DDX hook. 2010-09-01 15:26:52 +10:00
keysym2ucs.c
keysym2ucs.h
Makefile.am XQuartz: RandR: Implement basic RandR functionality. 2010-09-28 09:50:34 -07:00
pseudoramiX.c Delete panoramiXdataPtr: it's redundant. 2010-06-03 14:03:23 -07:00
pseudoramiX.h
quartz.c XQuartz: RandR: Refactor legacy mode-switching to be better integrated with RandR 2010-09-28 10:09:11 -07:00
quartz.h XQuartz: RandR: Refactor legacy mode-switching to be better integrated with RandR 2010-09-28 10:09:11 -07:00
quartzAudio.c XQuartz: RandR: Don't change the rootless preference when changing RandR mode 2010-09-28 09:50:35 -07:00
quartzAudio.h
quartzCocoa.m XQuartz: Remove some dead code. 2010-07-13 08:27:36 -07:00
quartzCommon.h XQuartz: RandR: Don't change the rootless preference when changing RandR mode 2010-09-28 09:50:35 -07:00
quartzKeyboard.c XQuartz: RandR: Don't change the rootless preference when changing RandR mode 2010-09-28 09:50:35 -07:00
quartzKeyboard.h
quartzRandR.c XQuartz: RandR: Refactor legacy mode-switching to be better integrated with RandR 2010-09-28 10:09:11 -07:00
quartzRandR.h XQuartz: RandR: Refactor legacy mode-switching to be better integrated with RandR 2010-09-28 10:09:11 -07:00
quartzStartup.c
sanitizedCarbon.h
sanitizedCocoa.h
threadSafety.c
threadSafety.h
X11Application.h XQuartz: RandR: Don't change the rootless preference when changing RandR mode 2010-09-28 09:50:35 -07:00
X11Application.m XQuartz: RandR: Refactor legacy mode-switching to be better integrated with RandR 2010-09-28 10:09:11 -07:00
X11Controller.h XQuartz: Add a GUI preference for the Alt / Mode_switch toggle 2010-04-11 16:30:25 -07:00
X11Controller.m XQuartz: RandR: Don't change the rootless preference when changing RandR mode 2010-09-28 09:50:35 -07:00