From b4c532efcabe6dbd5ff13ae5746eb56e6594e5ba Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Wed, 28 Oct 2009 09:59:02 +0100 Subject: gnome-python: fix 2.26.1 build, add 2.28.0 python-pygobject*: add 2.20.0 --- conf/checksums.ini | 8 +++++ recipes/gnome/gnome-python_2.26.1.bb | 15 ++++++---- recipes/gnome/gnome-python_2.28.0.bb | 27 +++++++++++++++++ recipes/python/python-pygobject-native_2.20.0.bb | 17 +++++++++++ recipes/python/python-pygobject_2.20.0.bb | 38 ++++++++++++++++++++++++ 5 files changed, 100 insertions(+), 5 deletions(-) create mode 100644 recipes/gnome/gnome-python_2.28.0.bb create mode 100644 recipes/python/python-pygobject-native_2.20.0.bb create mode 100644 recipes/python/python-pygobject_2.20.0.bb diff --git a/conf/checksums.ini b/conf/checksums.ini index a6f06f0dc9..cfa44f1360 100644 --- a/conf/checksums.ini +++ b/conf/checksums.ini @@ -9118,6 +9118,10 @@ sha256=559b5d857b4fbc31418bc677f3391182ba1c357cabb8dfee04a1e709a7a63d01 md5=e5dcae40b2c291126843680dbed924a8 sha256=ede0203f1eec22b3ed4a91c7b769e437859e5bc4b89a8f8e80b3f7ca62317098 +[http://ftp.gnome.org/pub/GNOME/sources/gnome-python/2.28/gnome-python-2.28.0.tar.bz2] +md5=b627abbb0ed912e221cc072e3dd6f9d6 +sha256=f2c984587450086dff8eb0a72a8d8c616d51fecfcc790601c35641be140efa0c + [http://ftp.gnome.org/pub/GNOME/sources/gnome-python-desktop/2.23/gnome-python-desktop-2.23.0.tar.bz2] md5=d8f8e61d99402e8b0a82d3c8d6e873be sha256=7ad66f99a1bad1ae0bbb02bd7a7cf8ed17fdc3fd104fa5c68e04961459ad5c50 @@ -21790,6 +21794,10 @@ sha256=c746693328bfed7838a1f3bfac41b13d7f39a81ac961559cd0daf700fc677da7 md5=431e7d4632163b93d1ee43cd071a389c sha256=db0ab6f998bc5750aba2dfa96c8932f673914d8bf804a2c1c769b4a6e3f192d2 +[ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/2.20/pygobject-2.20.0.tar.bz2] +md5=10e1fb79be3d698476a28b1e1b0c5640 +sha256=41e923a3f4426a3e19f6d154c424e3dac6f39defca77af602ac6272ce270fa81 + [http://downloads.sourceforge.net/pygoogle/pygoogle-0.6.tar.gz] md5=334e2d9e5a765ffa9769e2c4cdfcd110 sha256=ad3f4530977a15e52b379ef301a4a80cf69a883f24dd6cebc5b47b3009c092a4 diff --git a/recipes/gnome/gnome-python_2.26.1.bb b/recipes/gnome/gnome-python_2.26.1.bb index 1027437b7a..54523f898f 100644 --- a/recipes/gnome/gnome-python_2.26.1.bb +++ b/recipes/gnome/gnome-python_2.26.1.bb @@ -3,13 +3,18 @@ LICENSE = "LGPL" DEPENDS = "libgnomeui pyorbit python-pygtk" RDEPENDS = "pyorbit" +PR = "r1" + inherit gnome distutils-base pkgconfig -do_configure() { - sed -i -e s:'`$PKG_CONFIG --variable=defsdir pygtk-2.0`':\"${STAGING_DATADIR}/pygtk/2.0/defs\":g ${S}/configure.ac - export HOST_SYS=${HOST_SYS} - export BUILD_SYS=${BUILD_SYS} - autotools_do_configure + +do_configure_prepend() { + export HOST_SYS=${HOST_SYS} + export BUILD_SYS=${BUILD_SYS} + sed -i -e s:'`$PKG_CONFIG --variable=defsdir pygtk-2.0`':\"${STAGING_DATADIR}/pygtk/2.0/defs\":g \ + -e s:'`$PKG_CONFIG --variable=defsdir gnome-python-2.0`':\"${STAGING_DATADIR}/pygtk/2.0/defs\":g \ + -e s:'`$PKG_CONFIG --variable=argtypesdir gnome-python-2.0`':\"${STAGING_DATADIR}/pygtk/2.0/argtypes/\":g \ + ${S}/configure.ac } do_stage() { diff --git a/recipes/gnome/gnome-python_2.28.0.bb b/recipes/gnome/gnome-python_2.28.0.bb new file mode 100644 index 0000000000..54523f898f --- /dev/null +++ b/recipes/gnome/gnome-python_2.28.0.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "GNOME Python miscellaneous bindings" +LICENSE = "LGPL" +DEPENDS = "libgnomeui pyorbit python-pygtk" +RDEPENDS = "pyorbit" + +PR = "r1" + +inherit gnome distutils-base pkgconfig + + +do_configure_prepend() { + export HOST_SYS=${HOST_SYS} + export BUILD_SYS=${BUILD_SYS} + sed -i -e s:'`$PKG_CONFIG --variable=defsdir pygtk-2.0`':\"${STAGING_DATADIR}/pygtk/2.0/defs\":g \ + -e s:'`$PKG_CONFIG --variable=defsdir gnome-python-2.0`':\"${STAGING_DATADIR}/pygtk/2.0/defs\":g \ + -e s:'`$PKG_CONFIG --variable=argtypesdir gnome-python-2.0`':\"${STAGING_DATADIR}/pygtk/2.0/argtypes/\":g \ + ${S}/configure.ac +} + +do_stage() { + autotools_stage_all +} + +FILES_${PN} += "${datadir}" +FILES_${PN}-dbg += "${libdir}/gnome-vfs-2.0/modules/.debug" + + diff --git a/recipes/python/python-pygobject-native_2.20.0.bb b/recipes/python/python-pygobject-native_2.20.0.bb new file mode 100644 index 0000000000..40d7a9eeca --- /dev/null +++ b/recipes/python/python-pygobject-native_2.20.0.bb @@ -0,0 +1,17 @@ +require python-pygobject_${PV}.bb + +DEPENDS = "python-native glib-2.0-native" + +PARALLEL_MAKE = "" + +inherit native + +SRC_URI = "\ + ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2 \ +# file://python-path.patch;patch=1 \ +" + +do_stage_append() { + install -d ${STAGING_BINDIR} + install -m 0755 gobject/generate-constants ${STAGING_BINDIR}/gobject-generate-constants +} diff --git a/recipes/python/python-pygobject_2.20.0.bb b/recipes/python/python-pygobject_2.20.0.bb new file mode 100644 index 0000000000..2a07a4a1a4 --- /dev/null +++ b/recipes/python/python-pygobject_2.20.0.bb @@ -0,0 +1,38 @@ +DESCRIPTION = "Python GObject bindings" +SECTION = "devel/python" +LICENSE = "LGPL" +DEPENDS = "python-pygobject-native-${PV}" +PE = "1" + +MAJ_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" + +SRC_URI = "\ + ftp://ftp.gnome.org/pub/GNOME/sources/pygobject/${MAJ_VER}/pygobject-${PV}.tar.bz2 \ + file://generate-constants.patch;patch=1 \ +" +S = "${WORKDIR}/pygobject-${PV}" + +FILESPATH = "${FILE_DIRNAME}/python-pygobject:${FILE_DIRNAME}/files" + +inherit autotools distutils-base pkgconfig + +# necessary to let the call for python-config succeed +export BUILD_SYS +export HOST_SYS + +do_stage() { + autotools_stage_all + install -d ${STAGING_LIBDIR}/../share/pygobject/ + cp -dpfR docs/* ${STAGING_LIBDIR}/../share/pygobject/ + install -d ${STAGING_LIBDIR}/../share/gtk-doc/html/pygobject/ + cp docs/style.css ${STAGING_LIBDIR}/../share/gtk-doc/html/pygobject/ +} + +PACKAGES += "${PN}-lib" + +RDEPENDS_${PN} += "python-textutils" + +FILES_${PN} = "${libdir}/python*" +FILES_${PN}-lib = "${libdir}/lib*.so.*" +FILES_${PN}-dev += "${bindir} ${datadir}" +FILES_${PN}-dbg += "${libdir}/.debug" -- cgit v1.2.3 From de1d0546fdda0079f15af58259a64f680340d081 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Wed, 28 Oct 2009 10:00:53 +0100 Subject: angstrom: bump samba and python --- conf/distro/include/angstrom-2008-preferred-versions.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/distro/include/angstrom-2008-preferred-versions.inc b/conf/distro/include/angstrom-2008-preferred-versions.inc index 36c556a679..0bce352a7a 100644 --- a/conf/distro/include/angstrom-2008-preferred-versions.inc +++ b/conf/distro/include/angstrom-2008-preferred-versions.inc @@ -28,8 +28,8 @@ PREFERRED_VERSION_pango = "1.24.4" PREFERRED_VERSION_pkgconfig = "0.23" PREFERRED_VERSION_pkgconfig-native = "0.23" PREFERRED_VERSION_pulseaudio = "0.9.15" -PREFERRED_VERSION_python = "2.6.1" -PREFERRED_VERSION_samba = "3.3.0" +PREFERRED_VERSION_python = "2.6.2" +PREFERRED_VERSION_samba = "3.3.9" PREFERRED_VERSION_tiff = "3.8.2+4.0.0beta2" PREFERRED_VERSION_udev = "141" -- cgit v1.2.3 From 25e876d130bfc84cfd1cbbc38372c7695ca2b586 Mon Sep 17 00:00:00 2001 From: David-John Willis Date: Tue, 27 Oct 2009 20:17:22 +0000 Subject: xf86-input-evtouch: Use latest Ubuntu package diff and tweak configure. * Add configure support to generate calibration app and udev rules for touchscreens. --- .../xf86-input-evtouch_0.8.8-0ubuntu3.diff | 57 - .../xf86-input-evtouch_0.8.8-0ubuntu6.diff | 4210 ++++++++++++++++++++ recipes/xorg-driver/xf86-input-evtouch_0.8.8.bb | 10 +- 3 files changed, 4216 insertions(+), 61 deletions(-) delete mode 100644 recipes/xorg-driver/xf86-input-evtouch/xf86-input-evtouch_0.8.8-0ubuntu3.diff create mode 100644 recipes/xorg-driver/xf86-input-evtouch/xf86-input-evtouch_0.8.8-0ubuntu6.diff diff --git a/recipes/xorg-driver/xf86-input-evtouch/xf86-input-evtouch_0.8.8-0ubuntu3.diff b/recipes/xorg-driver/xf86-input-evtouch/xf86-input-evtouch_0.8.8-0ubuntu3.diff deleted file mode 100644 index 6523db5a4c..0000000000 --- a/recipes/xorg-driver/xf86-input-evtouch/xf86-input-evtouch_0.8.8-0ubuntu3.diff +++ /dev/null @@ -1,57 +0,0 @@ ---- xf86-input-evtouch-0.8.8.orig/evtouch.c -+++ xf86-input-evtouch-0.8.8/evtouch.c -@@ -30,8 +30,8 @@ - - #define _evdev_touch_C_ - --#include --#if XF86_VERSION_CURRENT >= XF86_VERSION_NUMERIC(3,9,0,0,0) -+#include -+#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(3,9,0,0,0) - #define XFREE86_V4 - #endif - -@@ -74,7 +74,6 @@ - #include "xf86_OSproc.h" - #include "xf86Xinput.h" - #include "exevents.h" --#include "xf86OSmouse.h" - #include "randrstr.h" - - #ifndef NEED_XF86_TYPES -@@ -139,7 +138,7 @@ - "Kenan Esau", - MODINFOSTRING1, - MODINFOSTRING2, -- XF86_VERSION_CURRENT, -+ XORG_VERSION_CURRENT, - 0, 8, 8, - ABI_CLASS_XINPUT, - ABI_XINPUT_VERSION, -@@ -653,14 +652,13 @@ - * Device reports motions on 2 axes in absolute coordinates. - * Axes min and max values are reported in raw coordinates. - */ -- if (InitValuatorClassDeviceStruct(dev, 2, xf86GetMotionEvents, -+ if (InitValuatorClassDeviceStruct(dev, 2, - local->history_size, Absolute) == FALSE) - { - ErrorF ("Unable to allocate EVTouch touchscreen ValuatorClassDeviceStruct\n"); - return !Success; - } - --#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 2 - xf86InitValuatorAxisStruct(dev, 0, 0, priv->screen_width, - 1024, - EV_AXIS_MIN_RES /* min_res */ , -@@ -671,10 +669,6 @@ - EV_AXIS_MIN_RES /* min_res */ , - EV_AXIS_MAX_RES /* max_res */ ); - xf86InitValuatorDefaults(dev, 1); --#else -- xf86InitValuatorAxisStruct(dev, 0, priv->min_x, priv->max_x, -- xf86InitValuatorDefaults(dev, 1); --#endif - - /* Initial position of pointer on screen: Centered */ - priv->cur_x=(priv->max_x - priv->min_x)/2; diff --git a/recipes/xorg-driver/xf86-input-evtouch/xf86-input-evtouch_0.8.8-0ubuntu6.diff b/recipes/xorg-driver/xf86-input-evtouch/xf86-input-evtouch_0.8.8-0ubuntu6.diff new file mode 100644 index 0000000000..abe5b8f4ba --- /dev/null +++ b/recipes/xorg-driver/xf86-input-evtouch/xf86-input-evtouch_0.8.8-0ubuntu6.diff @@ -0,0 +1,4210 @@ +--- xf86-input-evtouch-0.8.8.orig/evtouch.c ++++ xf86-input-evtouch-0.8.8/evtouch.c +@@ -30,8 +30,8 @@ + + #define _evdev_touch_C_ + +-#include +-#if XF86_VERSION_CURRENT >= XF86_VERSION_NUMERIC(3,9,0,0,0) ++#include ++#if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(3,9,0,0,0) + #define XFREE86_V4 + #endif + +@@ -74,7 +74,6 @@ + #include "xf86_OSproc.h" + #include "xf86Xinput.h" + #include "exevents.h" +-#include "xf86OSmouse.h" + #include "randrstr.h" + + #ifndef NEED_XF86_TYPES +@@ -139,7 +138,7 @@ + "Kenan Esau", + MODINFOSTRING1, + MODINFOSTRING2, +- XF86_VERSION_CURRENT, ++ XORG_VERSION_CURRENT, + 0, 8, 8, + ABI_CLASS_XINPUT, + ABI_XINPUT_VERSION, +@@ -653,14 +652,13 @@ + * Device reports motions on 2 axes in absolute coordinates. + * Axes min and max values are reported in raw coordinates. + */ +- if (InitValuatorClassDeviceStruct(dev, 2, xf86GetMotionEvents, ++ if (InitValuatorClassDeviceStruct(dev, 2, + local->history_size, Absolute) == FALSE) + { + ErrorF ("Unable to allocate EVTouch touchscreen ValuatorClassDeviceStruct\n"); + return !Success; + } + +-#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 2 + xf86InitValuatorAxisStruct(dev, 0, 0, priv->screen_width, + 1024, + EV_AXIS_MIN_RES /* min_res */ , +@@ -671,10 +669,6 @@ + EV_AXIS_MIN_RES /* min_res */ , + EV_AXIS_MAX_RES /* max_res */ ); + xf86InitValuatorDefaults(dev, 1); +-#else +- xf86InitValuatorAxisStruct(dev, 0, priv->min_x, priv->max_x, +- xf86InitValuatorDefaults(dev, 1); +-#endif + + /* Initial position of pointer on screen: Centered */ + priv->cur_x=(priv->max_x - priv->min_x)/2; +--- xf86-input-evtouch-0.8.8.orig/debian/changelog ++++ xf86-input-evtouch-0.8.8/debian/changelog +@@ -0,0 +1,259 @@ ++xf86-input-evtouch (0.8.8-0ubuntu6) karmic; urgency=low ++ ++ * Add debian/fdi/50-touchpack.fdi to support TouchPack touchscreen devices ++ (Clevo TN120 series, ASUS EeeTOP, Winux Tablet, ...) ++ (LP: #401039) ++ ++ -- Mirsal Ennaime Sat, 24 Oct 2009 18:10:18 +0200 ++ ++xf86-input-evtouch (0.8.8-0ubuntu5) karmic; urgency=low ++ ++ * control: Add dependencies for ttf-freefont and x-ttcidfont-conf. ++ These dependencies are required by one of the earlier patches. ++ (LP: #299178) ++ * Add debian/fdi/50-elo-2700.fdi to support EloTouch 2700 IntelliTouch ++ Touchmonitor Interface. ++ (LP: #362308) ++ * Add debian/fdi/50-gunze.fdi to support GUNZE USB Touch Panel ++ (LP: #368135) ++ ++ -- Bryce Harrington Wed, 14 Oct 2009 02:10:14 -0700 ++ ++xf86-input-evtouch (0.8.8-0ubuntu4) karmic; urgency=low ++ ++ * Add debian/fdi/50-ideaco-idc6681.fdi to support IDEACO IDC 6681 ++ touchscreen. ++ (LP: #378357) ++ ++ -- Bryce Harrington Wed, 14 Oct 2009 01:35:50 -0700 ++ ++xf86-input-evtouch (0.8.8-0ubuntu3) jaunty; urgency=low ++ ++ * 21_more_calibration_fixups.patch: Make calibration work on xserver-1.6 ++ ++ -- Thomas Jaeger Sun, 22 Mar 2009 20:58:58 -0400 ++ ++xf86-input-evtouch (0.8.8-0ubuntu2) jaunty; urgency=low ++ ++ * install fdi files to /usr/share/hal/fdi/policy/20thirdparty so we make ++ sure its not synaptics that gets used. ++ ++ -- Oliver Grawert Wed, 28 Jan 2009 16:17:39 +0100 ++ ++xf86-input-evtouch (0.8.8-0ubuntu1) jaunty; urgency=low ++ ++ * New upstream release, packaged by Thomas Jaeger (ThJaeger@gmail.com) ++ Thanks a lot for fixing the header issues !! (LP: #312098) ++ - fix rotation issues (LP: #222164) ++ * 20_fix_calibrate_submission_directions.patch, point lshal submission to a ++ LP bug instead of pointing people to a subscription only ++ mailing list (LP: #307503) ++ ++ -- Oliver Grawert Wed, 14 Jan 2009 14:04:58 -0500 ++ ++xf86-input-evtouch (0.8.7-4build2) jaunty; urgency=low ++ ++ * Rebuild against the new xserver. ++ ++ -- Timo Aaltonen Mon, 15 Dec 2008 11:49:43 +0200 ++ ++xf86-input-evtouch (0.8.7-4build1) intrepid; urgency=low ++ ++ * Rebuild due to x11proto-input fix in 283921 ++ ++ -- Bryce Harrington Sat, 18 Oct 2008 01:45:02 -0700 ++ ++xf86-input-evtouch (0.8.7-3ubuntu12) intrepid; urgency=low ++ ++ * add more touchscreen .fdi files ++ * install all touchscreen .fdi files to /usr/share/hal/fdi/policy/10osvendor ++ with sequence number 50 so they will override evdev and mouse settings ++ ++ -- Oliver Grawert Thu, 16 Oct 2008 01:50:09 +0200 ++ ++xf86-input-evtouch (0.8.7-3ubuntu11) intrepid; urgency=low ++ ++ * fix .fdi install location to make sure hal doesnt prefer mouse settings ++ for evtouch devices ++ ++ -- Oliver Grawert Mon, 29 Sep 2008 22:39:37 +0200 ++ ++xf86-input-evtouch (0.8.7-3ubuntu10) intrepid; urgency=low ++ ++ * update halification patch of calibration script to make sure it doesnt ++ fire if no evtouch capable device is in hal. ++ * add .fdi file for Fujitsu lifebook (and other Fujitsu driven touchscreen ++ devices with Fujitsu USB Touch Panel). ++ * add sane defaults to ideaco and eGalax fdi files. ++ * add selection of dialog frontends to show the info in X. ++ * move zenity to recommends, add xdialog and kdebase-bin (for kdialog) as ++ different dialog options. ++ ++ -- Oliver Grawert Thu, 25 Sep 2008 19:57:51 +0200 ++ ++xf86-input-evtouch (0.8.7-3ubuntu9) intrepid; urgency=low ++ ++ * quieten down initscript a bit (we dont want a newline for each applied ++ value on screen) ++ * call initscript at end of calibration, so new values are applied without ++ having to restart the system. ++ ++ -- Oliver Grawert Thu, 25 Sep 2008 13:27:41 +0200 ++ ++xf86-input-evtouch (0.8.7-3ubuntu8) intrepid; urgency=low ++ ++ * add 09_calibrate-script-halification.patch, adds hal functionallity to ++ calibration tool, makes the script work under X and gives useful output ++ through zenity dialogs ++ * add 10_ev_calibrate_fixups.patch, fix ev_calibrate.c to use a useful font ++ in calibration, make it write to /etc/evtouch/config in a format that can ++ be parsed by the evtouch hal-set-property initscript ++ * add calibrate.desktop and calibrate icon file (uuencoded), add sharutils ++ to build-deps ++ * make sure /etc/evtouch dir is created by the package so ev_calibrate can ++ write its config there. ++ * add hal to dependencies, zenity to suggests ++ * add xserver-xorg-input-evtouch initscript to apply calibration data on ++ system boot via hal-set-property ++ * include .fdi files for ideaco and eGalax touchscreens (hopefully there ++ will be more soon) ++ * closes (LP: #261873) ++ ++ -- Oliver Grawert Thu, 25 Sep 2008 00:54:44 +0200 ++ ++xf86-input-evtouch (0.8.7-3ubuntu7) intrepid; urgency=low ++ ++ * add CURSORDIR to debian/rules to make calibration tool work ++ * link calibration tools to /usr/bin so the low level calibration tools work ++ on a basic level ++ ++ -- Oliver Grawert Wed, 24 Sep 2008 13:27:49 +0200 ++ ++xf86-input-evtouch (0.8.7-3ubuntu6) intrepid; urgency=low ++ ++ * add libtouch.c to 08_fix_xf86memset.patch. (LP: #254848) ++ ++ -- Timo Aaltonen Thu, 07 Aug 2008 11:36:17 +0300 ++ ++xf86-input-evtouch (0.8.7-3ubuntu5) intrepid; urgency=low ++ ++ * add 08_fix_xf86memset.patch, fixes (LP: #254848) ++ ++ -- Oliver Grawert Tue, 05 Aug 2008 17:46:19 +0200 ++ ++xf86-input-evtouch (0.8.7-3ubuntu4) intrepid; urgency=low ++ ++ * Uh, ok. Don't apply 04_include_xf86_ansic_h.patch. (FTBFS) ++ ++ -- Timo Aaltonen Tue, 08 Jul 2008 14:22:13 +0300 ++ ++xf86-input-evtouch (0.8.7-3ubuntu3) intrepid; urgency=low ++ ++ * libtouch.c: don't #include . It is no more. (FTBFS) ++ ++ -- Timo Aaltonen Tue, 08 Jul 2008 14:13:32 +0300 ++ ++xf86-input-evtouch (0.8.7-3ubuntu2) intrepid; urgency=low ++ ++ * Rebuild against the new xserver-xorg-dev. ++ ++ -- Timo Aaltonen Mon, 07 Jul 2008 17:44:38 +0300 ++ ++xf86-input-evtouch (0.8.7-3ubuntu1) hardy; urgency=low ++ ++ * Merge from debian unstable, remaining changes: (LP: #190004) ++ - Change maintainer address. ++ - Change the default font from helvetica to fixed. ++ * Drop Pepper/Q1 patch, upstream has a slightly different fix ++ * Upstream includes fix for running on amd64 (LP: #155880) ++ ++ -- Steve Magoun Thu, 07 Feb 2008 14:09:00 -0500 ++ ++xf86-input-evtouch (0.8.7-3) unstable; urgency=low ++ ++ * work(!!!!) with xserver-xorg-core 1.4 ++ * added xf86-input-evtouch-0.8.7-misc.patch from ++ http://www.postnuklear.de/xorg-patches/ (Closes: #443726) ++ * bump Standards-Version to 3.7.3 ++ * use Vcs and Homepage headers in debian/control ++ ++ -- Mattia Dongili Sat, 02 Feb 2008 21:32:15 +0900 ++ ++xf86-input-evtouch (0.8.7-2ubuntu1) hardy; urgency=low ++ ++ * Merge from debian unstable, remaining changes: ++ - Change maintainer address. ++ - Add patch from Pepper to handle the touch screen on the Samsung Q1 ++ Ultra correctly. ++ - Change the default font from helvetica to fixed. ++ ++ -- Timo Aaltonen Tue, 13 Nov 2007 10:53:54 +0200 ++ ++xf86-input-evtouch (0.8.7-2) unstable; urgency=low ++ ++ * build with xserver-xorg-core 1.4 ++ ++ -- Mattia Dongili Mon, 17 Sep 2007 16:52:54 +0900 ++ ++xf86-input-evtouch (0.8.7-1) unstable; urgency=low ++ ++ * New upstream release: ++ - Added "fix" for AMD64-crashes on touch (Closes: #431925) ++ * updated xsfbs ++ * removed 03_fix_compile_warns.patch applied upstream ++ ++ -- Mattia Dongili Tue, 11 Sep 2007 22:42:32 +0900 ++ ++xf86-input-evtouch (0.8.6-1ubuntu1) gutsy; urgency=low ++ ++ * Add patch from Pepper to handle the touch screen on the Samsung Q1 ++ Ultra correctly. ++ * Change the default font from helvetica to fixed. ++ ++ -- Tollef Fog Heen Wed, 11 Jul 2007 18:52:09 +0200 ++ ++xf86-input-evtouch (0.8.6-1) unstable; urgency=low ++ ++ * New upstream release: ++ - Fixed classic rotation (Closes: #417546) ++ * removed 04_fix_segv_on_device_off.patch, applied upstream ++ * updated evtouch.html ++ ++ -- Mattia Dongili Sat, 16 Jun 2007 14:31:58 +0900 ++ ++xf86-input-evtouch (0.8.5-3) unstable; urgency=low ++ ++ * Use xsfbs to get xserver dependencies automatically. ++ ++ -- Mattia Dongili Sun, 10 Jun 2007 10:44:51 +0900 ++ ++xf86-input-evtouch (0.8.5-2) unstable; urgency=low ++ ++ * Fix SEGV on vt switch (DeviceClose actually). ++ ++ -- Mattia Dongili Wed, 30 May 2007 15:55:59 +0900 ++ ++xf86-input-evtouch (0.8.5-1) unstable; urgency=low ++ ++ * New upstream release. ++ ++ -- Mattia Dongili Fri, 11 May 2007 18:28:41 +0900 ++ ++xf86-input-evtouch (0.8.3-1) unstable; urgency=low ++ ++ * New upstream release. ++ ++ -- Mattia Dongili Mon, 19 Feb 2007 12:34:26 +0100 ++ ++xf86-input-evtouch (0.8.2-1) unstable; urgency=low ++ ++ * New upstream release. ++ ++ -- Mattia Dongili Sat, 03 Feb 2007 20:14:40 +0100 ++ ++xf86-input-evtouch (0.8.1-1) unstable; urgency=low ++ ++ * Initial release. (Closes: #404932) ++ ++ -- Mattia Dongili Fri, 29 Dec 2006 15:01:18 +0100 ++ +--- xf86-input-evtouch-0.8.8.orig/debian/xserver-xorg-input-evtouch.links ++++ xf86-input-evtouch-0.8.8/debian/xserver-xorg-input-evtouch.links +@@ -0,0 +1,2 @@ ++usr/lib/xf86-input-evtouch/ev_calibrate usr/bin/ev_calibrate ++/usr/lib/xf86-input-evtouch/calibrate.sh usr/bin/calibrate_touchscreen +--- xf86-input-evtouch-0.8.8.orig/debian/copyright ++++ xf86-input-evtouch-0.8.8/debian/copyright +@@ -0,0 +1,34 @@ ++This package was debianized Mattia Dongili based on the work ++by Rex Tsai on Sun, 03 Dec 2006 18:53:48 +0100. ++ ++It was downloaded from http://www.stz-softwaretechnik.com/~ke/touchscreen/evtouch.html ++ ++Upstream Author: Kenan Esau ++ ++Copyright: 2004-2006 Kenan Esau , Baltmannsweiler, Germany. ++ ++License: ++ ++ Permission to use, copy, modify, distribute, and sell this software and its ++ documentation for any purpose is hereby granted without fee, provided that ++ the above copyright notice appear in all copies and that both that ++ copyright notice and this permission notice appear in supporting ++ documentation, and that the names of copyright holders not be ++ used in advertising or publicity pertaining to distribution of the ++ software without specific, written prior permission. The copyright holders ++ make no representations about the suitability of this ++ software for any purpose. It is provided "as is" without express or ++ implied warranty. ++ ++ THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS ++ SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND ++ FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY ++ SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER ++ RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF ++ CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN ++ CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ++ ++ ++The Debian packaging is (C) 2006, Mattia Dongili and ++is licensed under the GPL, see `/usr/share/common-licenses/GPL'. ++ +--- xf86-input-evtouch-0.8.8.orig/debian/calibrate.desktop ++++ xf86-input-evtouch-0.8.8/debian/calibrate.desktop +@@ -0,0 +1,12 @@ ++[Desktop Entry] ++Name=Calibrate Touchscreen ++Name[de]=Touchscreen Kalibrieren ++Comment=Run the touchscreen calibration tool ++Encoding=UTF-8 ++Exec=gksu /usr/bin/calibrate_touchscreen ++Terminal=false ++Type=Application ++Icon=calibrate.png ++StartupNotify=true ++Categories=GTK;System;Settings; ++X-Ubuntu-Gettext-Domain=evtouch +--- xf86-input-evtouch-0.8.8.orig/debian/calibrate.uuencode ++++ xf86-input-evtouch-0.8.8/debian/calibrate.uuencode +@@ -0,0 +1,50 @@ ++begin 644 calibrate.uunecode ++MB5!.1PT*&@H````-24A$4@```"0````D"`8```#A`)B8`````7-21T(`KLX< ++MZ0````9B2T=$`/\`_P#_H+VGDP````EP2%ES```-UP``#=`````=T ++M24U%!]@)&!(8$5T-YE8```>]241!5%C#[9AMC%Q5&<=_YYX[.UOF95^Z[Z7; ++M+K2496'9I=)`1&RD#29H\04,B5\$/_C!^(&HI89$HX&LA*CPP=<0$WQ!H@E& ++M_62,"9(B+QL+0FB`LD5IR]ANNVQG=F;NO>>>\_CASLS.6Y<:$S]YDY-S9^:< ++M\_S/\_R?Y_S/P/^?C1\%\.V''D@KS[NWKZ]OO_9T^G\)P#H7%(OGGW'.?>?0 ++MP?O+:N&A!U5O;^_//_ZQ`Y^]=,M6E/KO#(C(?SQ^966%W_W^MW\X?[YTNZ\4 ++M4]?.7GO7^-@8E+K$TSF'B`,4GN=U'7,A&OSQ\!N4*E'S(.UWVY-UR0Z>?^9/W'#S ++M_LX=-X$Y<^IM@FJ%@>$),MD\VO>[@NI*:)':FHUU50>@.+:4*P&GWCG.3Q]] ++M@,&1+6R=VMEUP=@8",\ST7\)KRT=8V+R,K*Y/KP+A;S#ENO@5L=,8QTGWODG ++M3S[V"-5*F2X1"H4`E,"VM7(U8JP3TYS+LVC'%/XZ]SKFSYU@K!QUC+]1, ++M[#KXZ".MH$SLR`R.U^[F[H,/`U`)30N/1(0X,N0&,UQ^V10KRP7> ++M6WV/=&Z0E)4+L5(H(Q ++M%G%"?W\_FICE,P7\=(;T)1E2J32>]O&TCU+)GBM!Q.I:0+$<4`X,[Q96VSF$ ++MWUY78NNH-GG#\Q1*>0T@":@Z>(=U#JTUD^-#[)Z;8F1D,X\_\6MT;S^YD6WX ++MV2%*DC-6,-81Q99J ++MI80)R@#TY;-\ZO;;.'#;K6P=SO&CA^_G^JD,B\\]S=+2,$F(KB5>:/6.%R$H-5#*F>.8$G[CU ++MPVBM$1%&1D8(PQ`1H:^O#VLM0T-#7#TSPS?O_PHCJ2)1Z2Q(G(#2&N5UEGZO ++M_1RRSC7"E8`23+TYP3@(8X<+2URY:[T^34]/8ZU%1.CM[<48@]::OKX^E%+L ++MVC9"M'8.92,\3Z.UQE->1['UVN-H71*BR"2>,34/&2?$%HQ-2D"V5Y//YS$F ++M(>;,S`SCX^.("/OW[R>52N'[/G-S`Z4!:4$4(AS#$NYD?[U+*VWT='1QM$R/S^/9D;;]C3XJ$Z=XPQ&&,(PY`P#'GSK>-4C$>J ++M%!)($92F6@D[-MT":.?D((_>^Y$-%:%(8K"\=AE_?^55;KQA3X/<(D(410T0 ++M01`011%!$'#JY`GNW'(#5T^2R^5J!ZYT"YF4PC"@ ++MM[<7:^T%O=(.,)U.,SL[R^'#A]F[=V\+D&9@QA@6%Q?9O'DSHZ-CY//];-K4 ++MVU*#/$_7^;CF@WKEQ<47GR@4"G=JK5,;Z>?VU(["B-=>.\K.E]Q>_"PH(&>''Q^0>G ++MIZ^ZK[^O/RG[GH>(4"P6V;9M.[.SLX@(U6JU`:P.:&%AH7#TZ-&#F4SF+WOV ++M[#F];]\^VW9YD$.'#CF`B[X6WO/YS_WJ0S?=?%?.G:-0*+"Z ++MNHKOITBGTPV2ETHECKQTY-5G#S][#_`&L+;11[YG?/3\P/#QT ++MQ_C8Q*=G9F9J@FV]%'B>PMK+,2:B7"Y3K08-+BH%J52*;=NW7CDW/_O!(T=> ++M/O7"BU^$A70.9^NI]7]ZW96+BA]EL;G!L;*QG^LKIFM3H?E.L ++M>Z0.QKEU76UMS.MOO,Z9,Z>K:^7RJ>-+2U_\P?=_O`@8(`+BI+BM>TC5WGN` ++M'J54S_C8V-=O/_#)L;H>WOC2)XWOM>[F]#37S>\&V.1$=CSUU&^^!=Q1`^/7 ++M>@,8O^T848":F!COR>5RVS.92][_FGQ1_P.T?L[G\SN'AX=ZEI?/QC6[#=M^ ++MT^JF;B6.8[V\O/SRSW[Q>%X$!:)$1+6^"P@UN=^P6#MSE:C$[Z)00DUE**5$ ++MH20R45$I%0!A6]BD6P#JB/TZGYK>=5/SVG;7[#K7U.H$CIMZ4^OC)G)SL6FO ++GFHRV@U`=>F4]<^K`V@'*1O'^-VN3A-O<,!`M`````$E%3D2N0F"" ++` ++end +--- xf86-input-evtouch-0.8.8.orig/debian/xserver-xorg-input-evtouch.dirs ++++ xf86-input-evtouch-0.8.8/debian/xserver-xorg-input-evtouch.dirs +@@ -0,0 +1 @@ ++etc/evtouch +--- xf86-input-evtouch-0.8.8.orig/debian/xserver-xorg-input-evtouch.init ++++ xf86-input-evtouch-0.8.8/debian/xserver-xorg-input-evtouch.init +@@ -0,0 +1,59 @@ ++#!/bin/sh ++ ++[ -x /usr/bin/hal-set-property ] || exit 0 ++[ -x /usr/bin/hal-find-by-property ] || exit 0 ++ ++. /etc/evtouch/config > /dev/null 2>&1 || exit 0 ++ ++do_start() { ++ UDI=$(/usr/bin/hal-find-by-property --key input.x11_driver --string evtouch) ++ ++ hal_set () { ++ if [ -n "$2" ]; then ++ /usr/bin/hal-set-property --udi "$UDI" --key input.x11_options.$1 --string "$2" >/dev/null 2>&1 ++ else ++ /usr/bin/hal-set-property --udi "$UDI" --key input.x11_options.$1 --remove >/dev/null 2>&1 ++ fi ++ } ++ ++ hal_set minx $MINX ++ hal_set miny $MINY ++ hal_set maxx $MAXX ++ hal_set maxy $MAXY ++ hal_set x0 $X0 ++ hal_set y0 $Y0 ++ hal_set x1 $X1 ++ hal_set y1 $Y1 ++ hal_set x2 $X2 ++ hal_set y2 $Y2 ++ hal_set x3 $X3 ++ hal_set y3 $Y3 ++ hal_set x4 $X4 ++ hal_set y4 $Y4 ++ hal_set x5 $X5 ++ hal_set y5 $Y5 ++ hal_set x6 $X6 ++ hal_set y6 $Y6 ++ hal_set x7 $X7 ++ hal_set y7 $Y7 ++ hal_set x8 $X8 ++ hal_set y8 $Y8 ++} ++ ++case "$1" in ++ start|"") ++ do_start ++ ;; ++ restart|reload|force-reload) ++ echo "Error: argument '$1' not supported" >&2 ++ exit 3 ++ ;; ++ stop) ++ # No-op ++ ;; ++ *) ++ echo "Usage: evtouch [start|stop]" >&2 ++ exit 3 ++ ;; ++esac ++ +--- xf86-input-evtouch-0.8.8.orig/debian/rules ++++ xf86-input-evtouch-0.8.8/debian/rules +@@ -0,0 +1,85 @@ ++#!/usr/bin/make -f ++# -*- makefile -*- ++ ++# Uncomment this to turn on verbose mode. ++#export DH_VERBOSE=1 ++include debian/xsfbs/xsfbs.mk ++ ++PACKAGE=xserver-xorg-input-evtouch ++ ++CFLAGS = -Wall -g ++ ++ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) ++ CFLAGS += -O0 ++else ++ CFLAGS += -O2 ++endif ++ ++configure: configure-stamp ++configure-stamp: patch ++ dh_testdir ++ # Add here commands to configure the package. ++ ++ CURSORDIR=/usr/share/xf86-input-evtouch ./configure --prefix=/usr --enable-evcalibrate ++ touch configure-stamp ++ ++build: build-stamp ++ ++build-stamp: configure-stamp ++ dh_testdir ++ ++ # Add here commands to compile the package. ++ $(MAKE) CFLAGS="$(CFLAGS)" ++ #docbook-to-man debian/evtouch.sgml > evtouch.1 ++ ++ touch $@ ++ ++clean: xsfclean clean-patched unpatch ++clean-patched: ++ dh_testdir ++ dh_testroot ++ rm -f build-stamp configure-stamp ++ ++ # Add here commands to clean up after the build process. ++ [ ! -f Makefile ] || $(MAKE) distclean ++ ++ dh_clean ++ ++install: build ++ dh_testdir ++ dh_testroot ++ dh_clean -k ++ dh_installdirs ++ ++ # Add here commands to install the package into debian/tmp ++ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp ++ ++ ++# Build architecture-independent files here. ++binary-indep: build install ++# We have nothing to do by default. ++ ++# Build architecture-dependent files here. ++binary-arch: build install serverabi ++ dh_testdir ++ dh_testroot ++ dh_install --sourcedir=debian/tmp --list-missing --exclude=.la --exclude=.a ++ dh_installchangelogs ChangeLog ++ dh_installdocs ++ dh_installexamples ++ dh_installman ++ mkdir -p debian/xserver-xorg-input-evtouch/usr/share/pixmaps ++ uudecode -o debian/xserver-xorg-input-evtouch/usr/share/pixmaps/calibrate.png debian/calibrate.uuencode ++ dh_installinit -a --no-start -u"start 25 2 3 4 5 ." ++ dh_link ++ dh_strip ++ dh_compress ++ dh_fixperms ++ dh_installdeb ++ dh_shlibdeps ++ dh_gencontrol ++ dh_md5sums ++ dh_builddeb ++ ++binary: binary-indep binary-arch ++.PHONY: build clean binary-indep binary-arch binary install configure +--- xf86-input-evtouch-0.8.8.orig/debian/control ++++ xf86-input-evtouch-0.8.8/debian/control +@@ -0,0 +1,23 @@ ++Source: xf86-input-evtouch ++Section: x11 ++Priority: optional ++Maintainer: Ubuntu Developers ++XSBC-Original-Maintainer: Debian X Strike Force ++Uploaders: Mattia Dongili ++Build-Depends: debhelper (>= 5), pkg-config, xserver-xorg-dev (>= 2:1.4), x11proto-randr-dev, libxrender-dev, libx11-dev, quilt, sharutils ++Standards-Version: 3.7.3 ++Vcs-Git: git://git.debian.org/git/pkg-xorg/driver/xserver-xorg-input-evtouch ++Vcs-Browser: http://git.debian.org/?p=pkg-xorg/driver/xserver-xorg-input-evtouch.git ++Homepage: http://stz-softwaretechnik.com/~ke/touchscreen/evtouch.html ++ ++Package: xserver-xorg-input-evtouch ++Architecture: any ++Depends: ${shlibs:Depends}, ${xserver:Depends}, hal, ttf-freefont, x-ttcidfont-conf ++Provides: ${xinpdriver:Provides} ++Recommends: zenity | kdebase-bin | xidalog ++Description: Touchscreen-Driver for X.Org/XFree86 server ++ This XFree/X.Org driver provides support for touchscreens input devices. ++ The driver is actually an evdev-driver which supports events for moving ++ in absolute coordinates, relative coordinates and mouse-buttons. ++ . ++ +--- xf86-input-evtouch-0.8.8.orig/debian/README.Debian ++++ xf86-input-evtouch-0.8.8/debian/README.Debian +@@ -0,0 +1,16 @@ ++xf86-input-evtouch for Debian ++----------------------------- ++ ++Evtouch is a Touchscreen-Driver for X. ++ ++Be sure to calibrate the device and set correct parameters in your ++xorg.conf, see README.calibrate and find the necessary helpers ++in /usr/lib/xf86-input-evtouch. ++ ++A complete reference can be found on-line at ++http://www.stz-softwaretechnik.com/~ke/touchscreen/evtouch.html ++or in /usr/share/doc/xserver-xorg-input-evtouch on your system. ++ ++Check /proc/bus/input/devices to find out your touchscreen device. ++ ++ -- Mattia Dongili , Sat, 09 Dec 2006 18:26:37 +0100 +--- xf86-input-evtouch-0.8.8.orig/debian/xserver-xorg-input-evtouch.install ++++ xf86-input-evtouch-0.8.8/debian/xserver-xorg-input-evtouch.install +@@ -0,0 +1,4 @@ ++usr/lib/* ++usr/share/* ++../fdi/* usr/share/hal/fdi/policy/20thirdparty ++../calibrate.desktop usr/share/applications/ +--- xf86-input-evtouch-0.8.8.orig/debian/docs ++++ xf86-input-evtouch-0.8.8/debian/docs +@@ -0,0 +1,4 @@ ++README ++README.calibration ++TODO ++debian/evtouch.html +--- xf86-input-evtouch-0.8.8.orig/debian/compat ++++ xf86-input-evtouch-0.8.8/debian/compat +@@ -0,0 +1 @@ ++5 +--- xf86-input-evtouch-0.8.8.orig/debian/evtouch.html ++++ xf86-input-evtouch-0.8.8/debian/evtouch.html +@@ -0,0 +1,248 @@ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++Xorg Touchscreen Driver ++ ++ ++
++Last updated: 09.06.2007 ++
++

Linux-Touchscreen Driver for X

++
++Evtouch is a Touchscreen-Driver for X. This site contains the configuration and installation description as well as the ++possibility to download the driver. ++
++

Installation/Configuration

++
  1. ++
    ++Download the tarball and extract it to some ++temporary directory. ++
    ++
    tar xzvf evtouch-xx.yy.tar.gz
    ++
    ++Copy the file "evtouch_drv.so" to the appropriate location ++(Some distributions use "/usr/X11R6/lib/modules/input" or ++"/usr/lib/xorg/modules/input/" (for Ubuntu)). ++
    ++
    ++Insert the lines below to the file "/etc/X11/XF86Config-4" or ++"/etc/X11/xorg.conf". ++
    ++
    ++ ++Section "InputDevice"
    ++    Identifier "touchscreen"
    ++    Driver "evtouch"
    ++    Option "Device" "/dev/input/event1"
    ++    Option "DeviceName" "touchscreen"
    ++    Option "MinX" "98"
    ++    Option "MinY" "43"
    ++    Option "MaxX" "940"
    ++    Option "MaxY" "925"
    ++    Option "ReportingMode" "Raw"
    ++    Option "Emulate3Buttons"
    ++    Option "Emulate3Timeout" "50"
    ++    Option "SendCoreEvents" "On"
    ++EndSection
    ++
    ++
  2. Beware that some distributions use other names for the device. Some use ++"/dev/input/evdevX" and others use "/dev/input/eventX".
  3. ++
  4. Add the line below to the file "/etc/X11/XF86Config-4" or ++"/etc/X11/xorg.conf" to the section "ServerLayout".
    ++
    InputDevice "touchscreen" "CorePointer"
    ++
  5. ++
  6. ++If your Y-axis is interchanged you might have used the wrong ++event-device. Maybe you should try the next few event-devices ++(/dev/event[1-9]). ++
  7. ++
++ ++
Since Xorg 7.2 there is always a default-mouse-pointer which will run simultaneously with evtouch if you do not prevent it from loading. It is extremely important that you add the following to your configuration. Otherwise you will get double click events and all kind of strange things.
++ ++
    ++
  1. ++
    Add the following new input-device to your xorg.conf:
    ++
    ++Section "InputDevice"
    ++    Identifier "dummy"
    ++    Driver "void"
    ++    Option "Device" "/dev/input/mice"
    ++EndSection
    ++
    ++
  2. ++
  3. ++
    Add the following line your your "ServerLayout"-section:
    ++
    InputDevice "dummy"
    ++
  4. ++
++ ++
++Calibration is also supported since V0.6.0. You can also reuse your ++settings from the old driver for the 2.6 driver. Actually you only ++have to exchange the driver name in the "Inputdevice"-section from ++"lbtouch" to "evtouch" and change the "Device". ++
++ ++

Button-Events

++ ++
++With the state-machine based code you can have the three types of button actions (button up, down, click) which are issued in different states of the state-machine. So the complete behaviour is configurable. ++
++ ++
++Have a look at Libtouch to see which default-actions are hard-coded in the driver and what you have to do to change the default-behaviour. ++
++
++ ++

Advanced Configuration

++ ++

Changing Timers

++ ++
++If you are not confident with the default behaviour of your touchpanel you ++can configure certain timers which change its behaviour. ++
++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++
Option Description Default-Value ++
TapTimer This timer starts when the state MAYBETAPPED is ++entered. When this timer expires a tap-event is issued and the state ++changes to UNTOUCHED. 200 ms
LongTouchTimer This timer is always started when the state TOUCHED ++is entered. When the timer expires before you untouch the screen again the ++state moves to LONGTOUCHED and on entering that state a longtouch-event is ++issued. 400 ms
Emulate3Buttons Enable emulation of three button support true -- enabled
Emulate3Timeout If both buttons are pressed/released before this timer ++expires a ++"middle press/release"-event is generated. This timer starts to run as soon as ++a button is pressed. 50 ms
MoveLimit If the pen moves out of this radius a "mouse-press"-event ++becomes impossible. 30 Pixels
Rotate There are two valid values:
++ CW -- Rotate the screen clockwise
++ CCW -- Rotate the screen counter-clockwise
++ Everything else will be treated as "no rotation". ++
no rotation
SwapX This option is in the driver since V0.61. When set to 1 ++the X-axis is ++ swapped. This option is applied BEFORE the rotation-option. ++ false -- no swapping
SwapY This option is in the driver since V0.61. When set to 1 ++the Y-axis is ++ swapped. This option is applied BEFORE the rotation-option. ++ false -- no swapping
++ ++
++If you find bugs or if you have comment/wishes please send mail to lifebook@conan.de
++ ++

Download

++

Touchscreen-Driver for X

++This driver should work for XFree 4.x and Xorg 6.8.x.
++Have a look at the CHANGELOG.
++V0.8.2 was removed since it was broken -- sorry for the inconvenience.

++V0.8.4 contains udev-rules for dynamically creating a softlink to the "correct" device. Please feel free to add your rules to this file and send the patches to me.
++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++
Precompiled driver for X V0.8.6evtouch-0.8.6.tar.gz
Precompiled driver for X V0.8.5evtouch-0.8.5.tar.gz
Precompiled driver for X V0.8.4evtouch-0.8.4.tar.gz
Precompiled driver for X V0.8.3evtouch-0.8.3.tar.gz
Precompiled driver for X V0.8.1evtouch-0.8.1.tar.gz
Precompiled driver for X V0.8.0evtouch-0.8.0.tar.gz
X driver sources V0.8.6xf86-input-evtouch-0.8.6.tar.bz2
X driver sources V0.8.5xf86-input-evtouch-0.8.5.tar.bz2
X driver sources V0.8.4xf86-input-evtouch-0.8.4.tar.bz2
X driver sources V0.8.3xf86-input-evtouch-0.8.3.tar.bz2
X driver sources V0.8.1xf86-input-evtouch-0.8.1.tar.bz2
X driver sources V0.8.0evtouch-0.8.0-src.tar.gz
++Older (obsolete) versions of the evtouch-driver ++can be downloaded here ++ ++ +--- xf86-input-evtouch-0.8.8.orig/debian/patches/02-buttonless-device.patch ++++ xf86-input-evtouch-0.8.8/debian/patches/02-buttonless-device.patch +@@ -0,0 +1,86 @@ ++Index: xf86-input-evtouch-0.8.3.dirty/evtouch.c ++=================================================================== ++--- xf86-input-evtouch-0.8.3.dirty.orig/evtouch.c 2007-02-19 18:28:41.749371445 +0100 +++++ xf86-input-evtouch-0.8.3.dirty/evtouch.c 2007-02-19 20:14:50.612312260 +0100 ++@@ -364,9 +364,15 @@ void EVTouchLBRBEvent(EVTouchPrivatePtr ++ void EVTouchProcessKey(EVTouchPrivatePtr priv) ++ { ++ struct input_event *ev; /* packet being/just read */ +++ ev = &priv->ev; ++ ++ DBGOUT(2, "EVTouch: %s\n", __FUNCTION__); ++- ev = &priv->ev; +++ +++ /* for buttonless devices no emulate3 is available, +++ only go through the SM */ +++ if (priv->buttonless) +++ return; +++ ++ if ( (ev->code == BTN_LEFT) || ++ (ev->code == BTN_RIGHT) || ++ (ev->code == BTN_MIDDLE) ) { ++@@ -688,6 +694,8 @@ static void ReadInput (LocalDevicePtr lo ++ while (EVTouchGetPacket (priv) == Success) ++ { ++ ev = &priv->ev; +++ DBGOUT(2, "EVTouch: %s type:%0.2x code: 0x%0.4x value:%d\n", +++ __FUNCTION__, ev->type, ev->code, ev->value); ++ ++ xf86XInputSetScreen(local, ++ priv->screen_num, ++@@ -708,7 +716,8 @@ static void ReadInput (LocalDevicePtr lo ++ EVTouchProcessRel(priv); ++ break; ++ case EV_KEY: ++- if (priv->ev.code == BTN_TOUCH) { +++ if (priv->ev.code == BTN_TOUCH +++ || priv->buttonless) { ++ if (priv->ev.value == 1) { ++ priv->touch_flags |= TOUCHED; ++ DBGOUT(2, "EVTouch: TOUCHED\n"); ++Index: xf86-input-evtouch-0.8.3.dirty/libtouch.c ++=================================================================== ++--- xf86-input-evtouch-0.8.3.dirty.orig/libtouch.c 2007-02-19 18:28:41.749371445 +0100 +++++ xf86-input-evtouch-0.8.3.dirty/libtouch.c 2007-02-19 20:02:36.070453105 +0100 ++@@ -320,6 +320,14 @@ static int handle_touched(LibTouchRecPtr ++ static void enter_moving(LibTouchRecPtr priv) ++ { ++ disable_timers(priv); +++ if (priv->pen == PEN_TOUCHED) { +++ DBG(4, ErrorF("LibTouch: Issuing Button-press 1\n")); +++ xf86PostButtonEvent(priv->local->dev, TRUE, +++ 1, 1, 0, 2, +++ priv->cur_x, +++ priv->cur_y); +++ priv->pressed_btn_stat |= 1 << 1; +++ } ++ } ++ ++ ++@@ -336,13 +344,13 @@ static void enter_longtouched(LibTouchRe ++ { ++ disable_timers(priv); ++ /* FIXME: Make Longtouch-Event configurable*/ ++- /* for now issue an LB down */ ++- DBG(4, ErrorF("LibTouch: Issuing Button-press 1\n")); +++ /* for now issue an RB down */ +++ DBG(4, ErrorF("LibTouch: Issuing Button-press 3\n")); ++ xf86PostButtonEvent(priv->local->dev, TRUE, ++- 1, 1, 0, 2, +++ 3, 1, 0, 2, ++ priv->cur_x, ++ priv->cur_y); ++- priv->pressed_btn_stat |= 1 << 1; +++ priv->pressed_btn_stat |= 1 << 3; ++ } ++ ++ ++@@ -515,7 +523,7 @@ static int handle_oneandahalftap(LibTouc ++ ++ /* FIXME: Make OneAndHalf-Event configurable */ ++ /* for now RB down */ ++- DBG(4, ErrorF("LibTouch: Issuing Button-press 1\n")); +++ DBG(4, ErrorF("LibTouch: Issuing Button-press 3\n")); ++ xf86PostButtonEvent (priv->local->dev, TRUE, ++ 3, 1, 0, 2, ++ priv->cur_x, +--- xf86-input-evtouch-0.8.8.orig/debian/patches/20_fix_calibrate_submission_directions.patch ++++ xf86-input-evtouch-0.8.8/debian/patches/20_fix_calibrate_submission_directions.patch +@@ -0,0 +1,13 @@ ++Index: xf86-input-evtouch-0.8.8/calibrate.sh ++=================================================================== ++--- xf86-input-evtouch-0.8.8.orig/calibrate.sh 2009-01-14 14:14:10.000000000 +0100 +++++ xf86-input-evtouch-0.8.8/calibrate.sh 2009-01-14 14:14:51.000000000 +0100 ++@@ -25,7 +25,7 @@ ++ FAILINFO="No evtouch capable device found, if you are sure you have \n\ ++ an evtouch capable touchscreen, please mail the \ ++ resulting file of the command \"lshal > evtouch_hal.out\" to the\n\ ++-ubuntu-mobile@lists.ubuntu.com mailing list, so support for your \ +++bug url https://bugs.launchpad.net/bugs/317094, so support for your \ ++ device can be added." ++ ++ if [ -z "$UDI" ];then +--- xf86-input-evtouch-0.8.8.orig/debian/patches/05_build_with_1_4.patch ++++ xf86-input-evtouch-0.8.8/debian/patches/05_build_with_1_4.patch +@@ -0,0 +1,22 @@ ++Index: xserver-xorg-input-evtouch/evtouch.c ++=================================================================== ++--- xserver-xorg-input-evtouch.orig/evtouch.c 2007-09-17 17:20:21.736761738 +0900 +++++ xserver-xorg-input-evtouch/evtouch.c 2007-09-17 17:31:22.274403633 +0900 ++@@ -492,9 +492,6 @@ DeviceOn (DeviceIntPtr dev) ++ ++ priv->buffer = XisbNew(local->fd, 64); ++ ++- DBG (9, XisbTrace (priv->buffer, 1)); ++- ++- ++ if (!priv->buffer) ++ { ++ xf86CloseSerial(local->fd); ++@@ -1207,7 +1204,6 @@ EVTouchPreInit(InputDriverPtr drv, IDevP ++ priv->diff[i][0], priv->diff[i][1]); ++ } ++ ++- xf86AlwaysCore(local, TRUE); ++ priv->touch_flags = 0; ++ ++ local->history_size = xf86SetIntOption( local->options, "HistorySize", 0 ); +--- xf86-input-evtouch-0.8.8.orig/debian/patches/10_ev_calibrate_fixups.patch ++++ xf86-input-evtouch-0.8.8/debian/patches/10_ev_calibrate_fixups.patch +@@ -0,0 +1,55 @@ ++Index: xf86-input-evtouch-0.8.7/ev_calibrate.c ++=================================================================== ++--- xf86-input-evtouch-0.8.7.orig/ev_calibrate.c 2008-09-25 01:13:32.000000000 +0200 +++++ xf86-input-evtouch-0.8.7/ev_calibrate.c 2008-09-25 01:13:43.000000000 +0200 ++@@ -198,7 +198,7 @@ ++ Pixmap cursor_pic; ++ XColor cursor_fg, cursor_bg; ++ XFontStruct* font_info; ++- char* font_name = "*fixed*"; +++ char* font_name = "*freemono*"; ++ char str[256]; ++ unsigned int cursor_width, cursor_height; ++ int hotspot_x, hotspot_y; ++@@ -234,7 +234,7 @@ ++ unsigned long black_pixel; ++ ++ ++- display = XOpenDisplay(":0"); +++ display = XOpenDisplay(getenv("DISPLAY")); ++ if (display == NULL) { ++ fprintf(stderr, "Cannot connect to X server %s\n", ":0"); ++ exit(-1); ++@@ -553,7 +553,7 @@ ++ /* ++ Put results to file and screen ++ */ ++- out_file = fopen("out.txt", "w"); +++ out_file = fopen("/etc/evtouch/config", "w"); ++ ++ ++ /* ++@@ -566,10 +566,10 @@ ++ min_max.max_x, ++ min_max.max_y); ++ ++- fprintf(out_file, " Option \"MinX\" \"%d\"\n", min_max.min_x); ++- fprintf(out_file, " Option \"MinY\" \"%d\"\n", min_max.min_y); ++- fprintf(out_file, " Option \"MaxX\" \"%d\"\n", min_max.max_x); ++- fprintf(out_file, " Option \"MaxY\" \"%d\"\n", min_max.max_y); +++ fprintf(out_file, "MINX=\"%d\"\n", min_max.min_x); +++ fprintf(out_file, "MINY=\"%d\"\n", min_max.min_y); +++ fprintf(out_file, "MAXX=\"%d\"\n", min_max.max_x); +++ fprintf(out_file, "MAXY=\"%d\"\n", min_max.max_y); ++ ++ ++ for (i=0; i<9; i++) { ++@@ -602,7 +602,7 @@ ++ i, marker_coordinates[i][1]-click_coordinates[i][1]); ++ ++ ++- fprintf(out_file, " Option \"x%d\" \"%d\"\n Option \"y%d\" \"%d\"\n", +++ fprintf(out_file, "X%d=\"%d\"\nY%d=\"%d\"\n", ++ i, marker_coordinates[i][0]-click_coordinates[i][0], ++ i, marker_coordinates[i][1]-click_coordinates[i][1]); ++ } +--- xf86-input-evtouch-0.8.8.orig/debian/patches/series ++++ xf86-input-evtouch-0.8.8/debian/patches/series +@@ -0,0 +1,11 @@ ++#02-buttonless-device.patch ++#03_fix_compile_warns.patch ++#04_include_xf86_ansic_h.patch ++#05_build_with_1_4.patch ++#06_xf86-input-evtouch-0.8.7-misc.patch ++#07_random_fixes_for_06.patch ++#08_fix_xf86memset.patch ++#09_calibrate-script-halification.patch ++#10_ev_calibrate_fixups.patch ++20_fix_calibrate_submission_directions.patch ++21_more_calibration_fixups.patch +--- xf86-input-evtouch-0.8.8.orig/debian/patches/06_xf86-input-evtouch-0.8.7-misc.patch ++++ xf86-input-evtouch-0.8.8/debian/patches/06_xf86-input-evtouch-0.8.7-misc.patch +@@ -0,0 +1,770 @@ ++# ++# This patch is from http://www.postnuklear.de/xorg-patches/ ++# ++# Description: This is a patch for the evtouch input driver ( ++# http://stz-softwaretechnik.com/~ke/touchscreen/evtouch.html). ++# Changes (for full description see ChangeLog file after patching (-: ): ++# o Changed code to compile a working driver for both XInput ABI 0.x and 2.0 (Xorg 1.4.0) ++# o changed rotation (due to segfault on xorg + fbdev) ++# o drag support ++# o tap "tolerance" ++# o added generic ts-adc touchscreen device to udev rules file ++# ++# Feel free to send comments, critics, suggestions to harryrat@postnuklear.de ++# To apply simply change into the toplevel directory of the source to be modified and enter: ++# patch -p1 < ++# ++# All patches are available under the GNU GPL, I hope they might be useful for you (-: ++# - Harald Radke ++# ++Index: xserver-xorg-input-evtouch/69-touchscreen.rules ++=================================================================== ++--- xserver-xorg-input-evtouch.orig/69-touchscreen.rules 2008-02-02 21:49:20.783972805 +0900 +++++ xserver-xorg-input-evtouch/69-touchscreen.rules 2008-02-02 21:49:39.730979724 +0900 ++@@ -7,8 +7,11 @@ ++ # Name can be found in /proc/bus/input/devices ('cat /proc/bus/input/devices') ++ # ++ ++-# These are the touchscreens supported by kernel's "usbtouchscreen" module +++# Generic ts-adc touchscreen modules +++KERNEL=="event*", SUBSYSTEM=="input", ATTRS{name}=="ts-adc", SYMLINK+="input/evtouch_event" +++ ++ +++# These are the touchscreens supported by kernel's "usbtouchscreen" module ++ # eGalax Inc. USB TouchController) ++ KERNEL=="event*", SUBSYSTEM=="input", ATTRS{idVendor}=="3823", ATTRS{idProduct}=="0001", SYMLINK+="input/evtouch_event" ++ # eGalax Inc. USB TouchController) ++Index: xserver-xorg-input-evtouch/ChangeLog ++=================================================================== ++--- xserver-xorg-input-evtouch.orig/ChangeLog 2008-02-02 21:49:20.795972782 +0900 +++++ xserver-xorg-input-evtouch/ChangeLog 2008-02-02 21:49:39.730979724 +0900 ++@@ -1,3 +1,61 @@ +++0.8.7-HR *** Note this is not an official release but an "unauthorized +++ *** fix version by me (Harald Radke - harryrat@postnuklear.de) +++ -> Changed code to compile a working driver for both +++ XInput ABI 0.x and 2.0 (Xorg 1.4.0) +++ (test compile for 0.x still needs to be done) +++ - evtouch.c: +++ * capsulated xf86Post*Events and xf86InputSetScreen +++ in functions where depending on the XINPUT ABI conversion +++ is done or xf86 functions are directly called +++ * xf86InitValuatorAxisStruct and xf86AlwaysCore() depending +++ on ABI done +++ - libtouch.h: passing xf86PostButtonEvent capsulation function +++ to init function (same as in evtouch.c) to do proper button +++ triggering +++ -> Rotation: +++ - added support for Option "Rotate" "UD" (upside down) +++ in evtouch input section of xorg.conf +++ - due to Segfault with (at least) fbdev video device, only +++ evtouch "Rotate" option is taken into calculations for coords, +++ meaning to get proper touchscreen behaviour on rotated X screens. +++ same Rotate option as in video device section of xorg.conf has +++ to be set in the evtouch section +++ -> Drag support: +++ Option "_drag" "" has been added. When set, +++ the handle_() function triggers BUTTON_DOWN for Button +++ before changing into S_MOVE state. Note that actually only +++ Option "touched_drag" "" is implemented, rest is dummy +++ (and doesn't make too much sense I guess) (-; +++ -> tap "tolerance": +++ introduce move_limit to evtouch.c as it is in libtouch.c, using it +++ to discard ABS_X/Y position changes if they are inside move_limit +++ around cur_x/y. this way pointer hopping can be avoided as well as +++ proper touched_drag established +++ - changes of cur_x/y are reported on EV_SYN in evtouch.c ReadInput() instead +++ on EV_ABS +++ -> added generic ts-adc touchscreen device to udev rules file +++ +++ => Example for a Loox720 PDA setup in input section of xorg.conf: +++ Section "InputDevice" +++ Identifier "touchscreen" +++ Driver "evtouch" +++ Option "Device" "/dev/input/evtouch_event" +++ Option "MinX" "434" +++ Option "MinY" "333" +++ Option "MaxX" "3643" +++ Option "MaxY" "3804" +++ Option "SwapX" "true" +++ Option "longtouched_action" "down" +++ Option "longtouched_button" "3" +++ Option "maybetapped_action" "click" +++ Option "maybetapped_button" "1" +++ Option "touched_drag" "1" +++ Option "oneandahalftap_button" "0" +++ Option "TapTimer" "30" +++ Option "LongtouchTimer" "500" +++ Option "MoveLimit" "18" +++ EndSection +++ ++ 0.8.7 ++ - Added Elo Touchscreen to udev-rules (Stephen Webb) ++ - Added "fix" for AMD64-crashes on touch (Martin Letenay) ++Index: xserver-xorg-input-evtouch/evtouch.c ++=================================================================== ++--- xserver-xorg-input-evtouch.orig/evtouch.c 2008-02-02 21:49:20.811973497 +0900 +++++ xserver-xorg-input-evtouch/evtouch.c 2008-02-02 21:49:39.734971242 +0900 ++@@ -182,6 +182,20 @@ static const char *default_options[] = ++ static int ++ ControlProc(LocalDevicePtr device, xDeviceCtl *ctrl); ++ +++static void +++PostMotionEvent(LocalDevicePtr local); +++ +++static void +++PostProximityEvent(LocalDevicePtr local,int is_in); +++ +++static void +++PostButtonEvent(LocalDevicePtr local, int button, +++ int is_down, int x,int y); +++ +++static void +++InputSetScreen(LocalDevicePtr local); +++ +++ ++ /***************************************************************************** ++ * Function Definitions ++ ****************************************************************************/ ++@@ -197,11 +211,10 @@ emulate3Timer(OsTimerPtr timer, CARD32 n ++ LocalDevicePtr local = (LocalDevicePtr)_local; ++ EVTouchPrivatePtr priv = (EVTouchPrivatePtr) local->private; ++ +++ ++ sigstate = xf86BlockSIGIO(); ++ ++- xf86PostMotionEvent(local->dev, TRUE, 0, 2, ++- priv->cur_x, ++- priv->cur_y); +++ PostMotionEvent(local); ++ ++ /* ++ * Emit a button press -- release is handled in EVTouchLBRBEvent ++@@ -209,31 +222,21 @@ emulate3Timer(OsTimerPtr timer, CARD32 n ++ if ( ( priv->touch_flags & LB_STAT ) && ++ !( priv->touch_flags & RB_STAT ) ) { ++ DBGOUT(2, "EVTouch: Left Press\n"); ++- xf86PostButtonEvent (local->dev, TRUE, ++- 1, 1, 0, 2, ++- priv->cur_x, ++- priv->cur_y); +++ PostButtonEvent (local, 1, 1,priv->cur_x,priv->cur_y); ++ } ++ ++ if ( ( priv->touch_flags & RB_STAT ) && ++ !( priv->touch_flags & LB_STAT ) ) { ++ DBGOUT(2, "EVTouch: Right Press\n"); ++- xf86PostButtonEvent (local->dev, TRUE, ++- 3, 1, 0, 2, ++- priv->cur_x, ++- priv->cur_y); ++- } ++- +++ PostButtonEvent (local, 3, 1,priv->cur_x,priv->cur_y); +++ } ++ /* ++ Handling "middle" button press ++ */ ++ if ( ( priv->touch_flags & RB_STAT ) && ++ ( priv->touch_flags & LB_STAT ) ) { ++ DBGOUT(2, "EVTouch: Middle Press\n"); ++- xf86PostButtonEvent (local->dev, TRUE, ++- 2, 1, 0, 2, ++- priv->cur_x, ++- priv->cur_y); +++ PostButtonEvent (local, 2, 1,priv->cur_x,priv->cur_y); ++ } ++ ++ priv->emulate3_timer_expired = TRUE; ++@@ -246,6 +249,7 @@ static void DoBtnAction(EVTouchPrivatePt ++ { ++ int btn = 0; ++ LocalDevicePtr local = priv->local; +++ ++ DBGOUT(2, "EVTouch: %s btn_count=%d\n", __FUNCTION__, priv->btn_count); ++ ++ for (btn = 0; btn < priv->btn_count; btn++) { ++@@ -262,12 +266,7 @@ static void DoBtnAction(EVTouchPrivatePt ++ DBGOUT(2, "EVTouch: %s btn = %d action = %d\n", ++ __FUNCTION__, btn, ++ priv->btn_actions[btn].action); ++- ++- xf86PostButtonEvent (local->dev, TRUE, btn, ++- priv->btn_actions[btn].action, ++- 0, 2, ++- priv->cur_x, ++- priv->cur_y); +++ PostButtonEvent (local, btn, priv->btn_actions[btn].action,priv->cur_x,priv->cur_y); ++ ++ priv->btn_actions[btn].do_it = 0; ++ priv->btn_actions[btn].action = 0; ++@@ -292,39 +291,32 @@ void EVTouchProcessAbs(EVTouchPrivatePtr ++ ev = &priv->ev; ++ ++ if ( (ev->code == ABS_X) || (ev->code == ABS_Z) ) { +++ if ((priv->cur_x - ev->value < priv->move_limit) +++ && (priv->cur_x - ev->value > -priv->move_limit)) +++ return; ++ priv->cur_x = ev->value; ++- libtouchSetXPos(priv->libtouch, priv->cur_x); +++// libtouchSetXPos(priv->libtouch, priv->cur_x); ++ } ++ ++ if ( (ev->code == ABS_Y) || (ev->code == ABS_RX) ) { +++ if ((priv->cur_y - ev->value < priv->move_limit) +++ && (priv->cur_y - ev->value > -priv->move_limit)) +++ return; ++ priv->cur_y = ev->value; ++- libtouchSetYPos(priv->libtouch, priv->cur_y); +++// libtouchSetYPos(priv->libtouch, priv->cur_y); ++ } ++ ++ if (ev->code == ABS_WHEEL) { ++ LocalDevicePtr local = priv->local; ++- ++ if (ev->value > 0) { ++ for (; ev->value > 0; ev->value--) { ++- xf86PostButtonEvent (local->dev, TRUE, ++- 4, 1, 0, 2, ++- priv->cur_x, ++- priv->cur_y); ++- xf86PostButtonEvent (local->dev, TRUE, ++- 4, 0, 0, 2, ++- priv->cur_x, ++- priv->cur_y); +++ PostButtonEvent (local, 4,1,priv->cur_x,priv->cur_y); +++ PostButtonEvent (local, 4,0,priv->cur_x,priv->cur_y); ++ } ++ } else if (ev->value < 0) { ++ for (ev->value = -ev->value; ev->value > 0; ev->value--) { ++- xf86PostButtonEvent (local->dev, TRUE, ++- 5, 1, 0, 2, ++- priv->cur_x, ++- priv->cur_y); ++- xf86PostButtonEvent (local->dev, TRUE, ++- 5, 0, 0, 2, ++- priv->cur_x, ++- priv->cur_y); +++ PostButtonEvent (local, 5,1,priv->cur_x,priv->cur_y); +++ PostButtonEvent (local, 5,0,priv->cur_x,priv->cur_y); ++ } ++ } ++ } ++@@ -451,10 +443,7 @@ void EVTouchProcessKey(EVTouchPrivatePtr ++ default: ++ return; ++ } ++- xf86PostButtonEvent(local->dev, TRUE, ++- btn, ev->value, 0, 2, ++- priv->cur_x, ++- priv->cur_y); +