v2 add svg file

Please note the buttons do not associate correctly when using the button 
mapping interface in the GNOME Wacom Tablet control panel. For the information 
on this bug, see the thread at 
https://www.mail-archive.com/linuxwacom-devel@lists.sourceforge.net/msg05980.html
 . This issue cannot be corrected in the .tablet or .svg files.

Signed-off-by: Aaron Skomra <sko...@gmail.com>
---
 data/intuos-m-p.tablet      | 39 +++++++++++++++++++++++++++++++++++++++
 data/layouts/intuos-m-p.svg | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 75 insertions(+)
 create mode 100644 data/intuos-m-p.tablet
 create mode 100644 data/layouts/intuos-m-p.svg

diff --git a/data/intuos-m-p.tablet b/data/intuos-m-p.tablet
new file mode 100644
index 0000000..25413a3
--- /dev/null
+++ b/data/intuos-m-p.tablet
@@ -0,0 +1,39 @@
+# Wacom
+# Intuos Pen Medium
+# CTL-680
+#
+# Successor of Bamboo3 series
+#
+# stylus with two buttons and eraser
+# Pen active area: 8.5 x 5.3in
+#
+# Button Map:
+# (A=RIGHT, B=LEFT, C=FORWARD, D=BACKWARD)
+#
+#     A                     C
+#     B                     D
+#    *-----------------------*
+#    |                       |
+#    |                       |
+#    |        TABLET         |
+#    |                       |
+#    |                       |
+#    *-----------------------*
+
+[Device]
+Name=Intuos Pen Medium
+DeviceMatch=usb:056a:0323
+Class=Bamboo
+Width=9
+Height=5
+Layout=intuos-m-p.svg
+IntegratedIn=
+
+[Features]
+Stylus=true
+Reversible=true
+Buttons=4
+
+[Buttons]
+Left=A;B
+Right=C;D
diff --git a/data/layouts/intuos-m-p.svg b/data/layouts/intuos-m-p.svg
new file mode 100644
index 0000000..f5495eb
--- /dev/null
+++ b/data/layouts/intuos-m-p.svg
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>
+<!--
+ -->
+<svg xmlns="http://www.w3.org/2000/svg"; version="1.1" 
style="color:#000000;stroke:#7f7f7f;fill:none;stroke-width:.25;font-size:8" 
id="intuos-s-p" width="275" height="222">
+  <title id="title">Wacom Intuos Pen Medium (CTL-680)</title>
+  <g>
+    <path id="ButtonA" class="A Button" d="M 35 35   a 8  8           0        
    0           1      9 -9   l 14 0   l 0 20   l -23 0   z"/>
+    <circle id="DotA" cx="47" cy="36" r=".5"/>
+    <path id="LeaderA" class="A Leader" d="M 65 35 l 20 0"/>
+    <text id="LabelA" class="A Label" x="87" y="40" 
style="text-anchor:start;">A</text>
+  </g>
+
+  <g>
+    <path id="ButtonB" class="B Button" d="M 35 47.5   l 23 0   l 0 20   l -23 
0   z"/>
+    <circle id="DotB" cx="47" cy="57.5" r=".5"/>
+    <path id="LeaderB" class="B Leader" d="M 65 59 l 20 0"/>
+    <text id="LabelB" class="B Label" x="87" y="64" 
style="text-anchor:start;">B</text>
+  </g>
+
+  <g>
+    <path id="ButtonC" class="C Button" d="M 185 26   l 14 0   a 8  -8         
  0            0           1      9 9    l 0 11   l -23 0   z"/>
+    <circle id="DotC" cx="197" cy="36" r=".5"/>
+    <path id="LeaderC" class="C Leader" d="M 160 35 l 20 0"/>
+    <text id="LabelC" class="C Label" x="145" y="40" 
style="text-anchor:start;">C</text>
+  </g>
+
+
+  <g>
+    <path id="ButtonD" class="D Button" d="M 185 47.5   l 23 0   l 0 20   l 
-23 0   z"/>
+    <circle id="DotD" cx="197" cy="57.5" r=".5"/>
+    <path id="LeaderD" class="D Leader" d="M 160 59 l 20 0"/>
+    <text id="LabelD" class="D Label" x="145" y="64" 
style="text-anchor:start;">D</text>
+  </g>
+
+</svg>
-- 
1.9.3


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to