data: add DTI-520 to tablet database

Signed-off-by: Adam Nielsen <a.niel...@shikadi.net>
---

>> Add support for the DTI-520
>
> pushed, thanks. Can you make a patch to libwacom as well please?

Here it is.  Let me know if this is all you need.  A few things to note:

The stylus I have has a translucent plastic end which I assume is an eraser, 
but nothing happens when I touch it to the display (no data is sent over USB.) 
  The pen seems to be model IP-110-01 if that means anything.  Unfortunately I 
don't have any other tools to test with, so I don't know whether the lack of 
an eraser is due to the pen or the tablet.

Two of the buttons on the display surface also send the same scancode over the 
USB bus, so there is no way to tell them apart.  I have therefore listed 
button "B" twice in Buttons/Bottom - hopefully that won't break anything.

The button map seems to suggest A=1, B=2, etc. however according to xev 
buttons 4 through 7 are never used (since they are reserved for scroll 
wheels.)  Therefore button D produces an event for X11 mouse button 8, button 
E is X11 button 9, and so on.  I guess this is expected, and the numbers refer 
to the input subsystem instead?

I'm also unsure what the "BuiltIn" option is for (the description in 
wacom.example doesn't really explain it.)  I went with "driver built in to the 
kernel rather than a module" as opposed to "tablet built in to an LCD display".

Also I posted a patch to LKML last week with the input driver for this tablet 
but there was no followup.  The tablet won't work without that, so should I 
post the patch here instead?  Here is the original post:
https://lkml.org/lkml/2012/4/14/20

Thanks,
Adam.


  data/dti-520.tablet |   38 ++++++++++++++++++++++++++++++++++++++
  1 file changed, 38 insertions(+)
  create mode 100644 data/dti-520.tablet

diff --git a/data/dti-520.tablet b/data/dti-520.tablet
new file mode 100644
index 0000000..6bdd0d7
--- /dev/null
+++ b/data/dti-520.tablet
@@ -0,0 +1,38 @@
+# Wacom
+# DTI-520 Interactive Pen Display
+#
+# Button Map:
+# (A=1, B=2, C=3, ...)
+#
+#           F G H I J
+#      *-----------------*
+#      |                 |
+#      |     DISPLAY     |
+#      |                 |
+#      *-----------------*
+#               D
+#           B A   C B
+#               E
+
+[Device]
+Name=Wacom DTI520UB/L
+DeviceMatch=usb:056a:003a
+Width=13.5
+Height=11.8
+Styli=0xffff;
+
+[Features]
+# This tablet does not appear to support erasers on styli
+Stylus=true
+Reversible=false
+Touch=false
+Ring=false
+Ring2=false
+NumStrips=0
+# Actually 11 buttons but the two Ctrl ones send the same scancode
+Buttons=10
+BuiltIn=false
+
+[Buttons]
+Top=F;G;H;I;J
+Bottom=B;A;D;E;C;B
-- 
1.7.10



------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to