xserver-multidpi/Xi
Peter Hutterer 84db813b9d Hook up TouchBegin/Update/End events
The are the same as device events internally but require the touch ID
separately from the detail.button field (the protocol uses the detail field
for the touch id).
For simpler integration of pointer emulation we need to set the
detail.button field while keeping the touchid around.

Add the three new touch event types to the various places in the server
where they need to be handled. The actual handling of the events is somewhat
more complicated in most places.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
2011-12-16 11:18:47 +10:00
..
allowev.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
allowev.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
chgdctl.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
chgdctl.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
chgfctl.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
chgfctl.h Static cleanup on Xi/ 2007-03-25 21:18:39 -04:00
chgkbd.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
chgkbd.h Xi: disallow changing core keyboard and pointer 2006-10-29 03:43:34 +03:00
chgkmap.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
chgkmap.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
chgprop.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
chgprop.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
chgptr.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
chgptr.h Static cleanup on Xi/ 2007-03-25 21:18:39 -04:00
closedev.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
closedev.h Static cleanup on Xi/ 2007-03-25 21:18:39 -04:00
devbell.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
devbell.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
exevents.c Hook up TouchBegin/Update/End events 2011-12-16 11:18:47 +10:00
exglobals.h xi: Use RESTYPE consistently 2011-03-08 13:20:33 -05:00
extinit.c Hook up TouchBegin/Update/End events 2011-12-16 11:18:47 +10:00
getbmap.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
getbmap.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
getdctl.c Use correct swap{l,s} (or none at all for CARD8) 2011-09-21 17:14:16 -04:00
getdctl.h Static cleanup on Xi/ 2007-03-25 21:18:39 -04:00
getfctl.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
getfctl.h Static cleanup on Xi/ 2007-03-25 21:18:39 -04:00
getfocus.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
getfocus.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
getkmap.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
getkmap.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
getmmap.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
getmmap.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
getprop.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
getprop.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
getselev.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
getselev.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
getvers.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
getvers.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
grabdev.c input: replace GRABTYPE_* with the InputLevel enums 2011-12-13 13:24:08 +10:00
grabdev.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
grabdevb.c input: replace GRABTYPE_* with the InputLevel enums 2011-12-13 13:24:08 +10:00
grabdevb.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
grabdevk.c input: replace GRABTYPE_* with the InputLevel enums 2011-12-13 13:24:08 +10:00
grabdevk.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
gtmotion.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
gtmotion.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
listdev.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
listdev.h Xi: Change ChangeMasterDeviceClasses to new XI2 events. 2009-03-20 15:17:55 +10:00
Makefile.am Xi: namespace XI2 files. 2009-06-17 09:05:22 +10:00
opendev.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
opendev.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
queryst.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
queryst.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
selectev.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
selectev.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
sendexev.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
sendexev.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
setbmap.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
setbmap.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
setdval.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
setdval.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
setfocus.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
setfocus.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
setmmap.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
setmmap.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
setmode.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
setmode.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
stubs.c simplify ChangeDeviceControl in stubs 2011-03-24 09:52:48 +10:00
ungrdev.c input: replace GRABTYPE_* with the InputLevel enums 2011-12-13 13:24:08 +10:00
ungrdev.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
ungrdevb.c input: replace GRABTYPE_* with the InputLevel enums 2011-12-13 13:24:08 +10:00
ungrdevb.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
ungrdevk.c input: replace GRABTYPE_* with the InputLevel enums 2011-12-13 13:24:08 +10:00
ungrdevk.h indent fixes (OMG SO UGLY), and nuke old RCS keywords. 2006-02-20 22:16:49 +00:00
xiallowev.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
xiallowev.h Xi: standardise XI2 headers. 2009-09-03 08:39:27 +10:00
xichangecursor.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
xichangecursor.h Xi: namespace XI2 files. 2009-06-17 09:05:22 +10:00
xichangehierarchy.c Change disable_clientpointer return type to void 2011-12-09 14:55:37 -08:00
xichangehierarchy.h Xi: standardise XI2 headers. 2009-09-03 08:39:27 +10:00
xigetclientpointer.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
xigetclientpointer.h Xi: namespace XI2 files. 2009-06-17 09:05:22 +10:00
xigrabdev.c input: replace GRABTYPE_* with the InputLevel enums 2011-12-13 13:24:08 +10:00
xigrabdev.h Xi: standardise XI2 headers. 2009-09-03 08:39:27 +10:00
xipassivegrab.c input: replace GRABTYPE_* with the InputLevel enums 2011-12-13 13:24:08 +10:00
xipassivegrab.h Xi: standardise XI2 headers. 2009-09-03 08:39:27 +10:00
xiproperty.c Fix gcc -Wwrite-strings warnings in various extensions 2011-11-23 12:15:07 -08:00
xiproperty.h Xi: reset the known properties at the end of the server generation. 2010-05-07 12:16:43 -07:00
xiquerydevice.c Use new FP1616/FP3232 conversion functions 2011-10-25 14:06:41 +10:00
xiquerydevice.h Input: Add smooth-scrolling support to GetPointerEvents 2011-09-30 09:24:18 +10:00
xiquerypointer.c input: replace remaining GetPairedDevice() with GetMaster() 2011-11-09 13:26:47 +10:00
xiquerypointer.h Xi: namespace XI2 files. 2009-06-17 09:05:22 +10:00
xiqueryversion.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
xiqueryversion.h Xi: namespace XI2 files. 2009-06-17 09:05:22 +10:00
xiselectev.c input: swap the server over to use the XI2mask struct 2011-12-09 14:56:23 +10:00
xiselectev.h Xi: standardise XI2 headers. 2009-09-03 08:39:27 +10:00
xisetclientpointer.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
xisetclientpointer.h Xi: namespace XI2 files. 2009-06-17 09:05:22 +10:00
xisetdevfocus.c Use internal temp variable for swap macros 2011-09-21 17:12:04 -04:00
xisetdevfocus.h Xi: standardise XI2 headers. 2009-09-03 08:39:27 +10:00
xiwarppointer.c Input: Convert DeviceIntRec::last to use doubles 2011-09-29 12:26:34 +10:00
xiwarppointer.h Xi: namespace XI2 files. 2009-06-17 09:05:22 +10:00