evdev will be the default driver for penmount touchscreen.
calibration conf is based on hard resolution (0, 1000, 0, 1000)
Signed-Off-By Quanxian Wang <quanxian.wang@intel.com>
+++ /dev/null
-Section "InputClass"
- Identifier "kbd catchall"
- MatchIsKeyboard "on"
- Driver "kbd"
-EndSection
+++ /dev/null
-Section "InputClass"
- Identifier "mouse catchall"
- MatchIsPointer "on"
- Driver "mouse"
-EndSection
--- /dev/null
+Section "InputClass"
+ Identifier "PenMount"
+ MatchProduct "DIALOGUE INC PenMount USB"
+ MatchIsPointer "on"
+ MatchDevicePath "/dev/input/event*"
+ Driver "evdev"
+ Option "SwapAxes" "on"
+EndSection
+
--- /dev/null
+Section "InputClass"
+ Identifier "calibration"
+ MatchProduct "DIALOGUE INC PenMount USB"
+ Option "Resolution" "1000 0 1000 0"
+ Option "Calibration" "36 996 20 976"
+EndSection
License: MIT
URL: http://www.x.org
Source0: %{name}-%{version}.tar.gz
-Source100: 10-kbd.conf
-Source101: 10-mouse.conf
+Source100: 95-input-penmount-tslib.conf
+Source101: 99-calibration.conf
Source102: 64-xorg-xkb.rules
Source103: 50-kbd.conf
Source104: 51-mouse.conf
%install
mkdir -p %{buildroot}/etc/X11/xorg.conf.d/
+install -m 755 -D %{SOURCE100} %{buildroot}/etc/X11/xorg.conf.d/
+install -m 755 -D %{SOURCE101} %{buildroot}/etc/X11/xorg.conf.d/
install -m 755 -D %{SOURCE103} %{buildroot}/etc/X11/xorg.conf.d/
install -m 755 -D %{SOURCE104} %{buildroot}/etc/X11/xorg.conf.d/