Added Atmel maXTouch mtev support
authorAustin, Zhang <austin.zhang@intel.com>
Fri, 8 Jun 2012 02:46:48 +0000 (10:46 +0800)
committerAustin, Zhang <austin.zhang@intel.com>
Fri, 8 Jun 2012 02:46:48 +0000 (10:46 +0800)
Signed-off-by: Austin, Zhang <austin.zhang@intel.com>
65-Atmel-mtev.conf [new file with mode: 0644]
packaging/device-config-touch.spec

diff --git a/65-Atmel-mtev.conf b/65-Atmel-mtev.conf
new file mode 100644 (file)
index 0000000..a60b39a
--- /dev/null
@@ -0,0 +1,7 @@
+Section "InputClass"
+        Identifier     "Atmel Touchscreen"
+       MatchProduct    "Atmel maXTouch Touchscreen"
+        Driver         "mtev"
+       Option          "SwapAxes" "True"
+       Option          "InvertX"       "True"
+EndSection
index 99da06f..29aba0f 100644 (file)
@@ -32,9 +32,7 @@ cp %{SOURCE1001} .
 %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
+install -m 0644 *.conf   %{buildroot}/opt/etc/X11/xorg.conf.d/
 
 %touch_package cando
 %files cando
@@ -46,6 +44,11 @@ done
 %manifest device-config-touch.manifest
 /opt/etc/X11/xorg.conf.d/60-mxt224-mtev.conf
 
+%touch_package Atmel
+%files Atmel
+%manifest device-config-touch.manifest
+/opt/etc/X11/xorg.conf.d/65-Atmel-mtev.conf
+
 %touch_package sitronix
 %files sitronix
 %manifest device-config-touch.manifest