--- /dev/null
+Section "InputClass"
+ Identifier "Atmel maXTouch mXT224"
+ MatchProduct "mxt224_touchscreen"
+ MatchDevicePath "/dev/input/event*"
+ Driver "mtev"
+ Option "Ignore" "off"
+EndSection
--- /dev/null
+Section "InputClass"
+ Identifier "Hanvon touchscreen"
+ MatchIsTouchscreen "on"
+ MatchProduct "Hanvon"
+ MatchDevicePath "/dev/input/event*"
+ Driver "mtev"
+EndSection
--- /dev/null
+Section "InputClass"
+ Identifier "eGalax Touchscreen"
+ MatchVendor "eGalax"
+ MatchDevicePath "/dev/input/event*"
+ Driver "mtev"
+ Option "SwapAxes" "True"
+ Option "InvertX" "True"
+EndSection
--- /dev/null
+Name: device-config-touch
+Version: 1
+Release: 1
+Summary: Device specific configurations for Touch
+Group: System/Hardware
+License: GPLv2+
+Source0: %{name}-%{version}.tar.bz2
+# >> gbp-patch-tags # auto-added by gbp
+# << gbp-patch-tags # auto-added by gbp
+BuildArch: noarch
+
+%description
+Device specific configurations for Touch.
+
+%define touch_package(n:) \
+%package %1\
+Summary: Touch configuration files for %1\
+Group: System/Hardware\
+%description %1\
+Touch configuration files for %1.\
+%{nil}
+
+
+%prep
+%setup -q
+# >> gbp-apply-patches # auto-added by gbp
+# << gbp-apply-patches # auto-added by gbp
+%build
+
+%install
+
+mkdir -p %{buildroot}/opt/etc/X11/xorg.conf.d
+for f in `ls -1`; do
+ install -m 0644 $f %{buildroot}/opt/etc/X11/xorg.conf.d/
+done
+
+%touch_package cando
+%files cando
+/opt/etc/X11/xorg.conf.d/60-cando-mtev.conf
+
+%touch_package mxt224
+%files mxt224
+/opt/etc/X11/xorg.conf.d/60-mxt224-mtev.conf
+
+%touch_package sitronix
+%files sitronix
+/opt/etc/X11/xorg.conf.d/70-sitronix-mtev.conf
+
+%touch_package Hanvon
+%files Hanvon
+/opt/etc/X11/xorg.conf.d/80-Hanvon-mtev.conf
+
+%touch_package ILI
+%files ILI
+/opt/etc/X11/xorg.conf.d/90-ILI-mtev.conf
+
+%touch_package eGalax
+%files eGalax
+/opt/etc/X11/xorg.conf.d/92-exopc-mtev.conf
+