summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorRon <ron@debian.org>2010-04-15 16:06:44 +0930
committerRon <ron@debian.org>2010-04-15 16:06:44 +0930
commit32ebba3eeb537dc70e1dfa45496bc65e66aeb9a2 (patch)
treec5615a2ec3f9f567477367928794ababe13e701f /conf
parentff59bc20e8ed549ca7ef17801851777907af79b1 (diff)
downloadxf86-input-wacom-32ebba3eeb537dc70e1dfa45496bc65e66aeb9a2.tar.gz
Rename the fdi subdir to conf
Signed-off-by: Ron Lee <ron@debian.org>
Diffstat (limited to 'conf')
-rw-r--r--conf/10-wacom.conf22
-rw-r--r--conf/Makefile.am5
-rw-r--r--conf/wacom.fdi25
3 files changed, 52 insertions, 0 deletions
diff --git a/conf/10-wacom.conf b/conf/10-wacom.conf
new file mode 100644
index 0000000..d5423fc
--- /dev/null
+++ b/conf/10-wacom.conf
@@ -0,0 +1,22 @@
+Section "InputClass"
+ Identifier "Wacom class"
+ MatchProduct "Wacom|WALTOP|WACOM"
+ MatchDevicePath "/dev/input/event*"
+ Driver "wacom"
+EndSection
+
+Section "InputClass"
+ Identifier "Wacom serial class"
+ MatchProduct "Serial Wacom Tablet"
+ Driver "wacom"
+ Option "ForceDevice" "ISDV4"
+EndSection
+
+# N-Trig Duosense Electromagnetic Digitizer
+Section "InputClass"
+ Identifier "Wacom N-Trig class"
+ MatchProduct "HID 1b96:0001"
+ MatchDevicePath "/dev/input/event*"
+ Driver "wacom"
+EndSection
+
diff --git a/conf/Makefile.am b/conf/Makefile.am
new file mode 100644
index 0000000..d6bbbdb
--- /dev/null
+++ b/conf/Makefile.am
@@ -0,0 +1,5 @@
+fdidir = $(datadir)/hal/fdi/policy/20thirdparty
+dist_fdi_DATA = wacom.fdi
+
+xorgconfdir = $(libdir)/X11/xorg.conf.d
+dist_xorgconf_DATA = 10-wacom.conf
diff --git a/conf/wacom.fdi b/conf/wacom.fdi
new file mode 100644
index 0000000..5c71563
--- /dev/null
+++ b/conf/wacom.fdi
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- this is probably a bit imprecise -->
+<deviceinfo version="0.2">
+ <device>
+ <match key="info.category" contains="input">
+ <match key="info.product" contains_outof="Wacom;WALTOP;WACOM">
+ <merge key="input.x11_driver" type="string">wacom</merge>
+ </match>
+ </match>
+ <match key="info.capabilities" contains="serial">
+ <match key="@info.parent:pnp.id" contains_outof="WACf;FUJ02e5;FUJ02e7">
+ <append key="info.capabilities" type="strlist">input</append>
+ <merge key="input.x11_driver" type="string">wacom</merge>
+ <merge key="input.x11_options.ForceDevice" type="string">ISDV4</merge>
+ <merge key="input.device" type="copy_property">serial.device</merge>
+ </match>
+ </match>
+ <!-- N-Trig Duosense Electromagnetic Digitizer -->
+ <match key="info.product" contains="HID 1b96:0001">
+ <match key="info.parent" contains="if0">
+ <merge key="input.x11_driver" type="string">wacom</merge>
+ </match>
+ </match>
+ </device>
+</deviceinfo>