https://github.com/linuxwacom/libwacom/issues/6

Signed-off-by: Jason Gerecke <jason.gere...@wacom.com>
---
 data/bamboo-pad-wireless.tablet | 23 ++++++++++++++++
 data/bamboo-pad.tablet          | 23 ++++++++++++++++
 data/layouts/bamboo-pad.svg     | 59 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 105 insertions(+)
 create mode 100644 data/bamboo-pad-wireless.tablet
 create mode 100644 data/bamboo-pad.tablet
 create mode 100644 data/layouts/bamboo-pad.svg

diff --git a/data/bamboo-pad-wireless.tablet b/data/bamboo-pad-wireless.tablet
new file mode 100644
index 0000000..139af1c
--- /dev/null
+++ b/data/bamboo-pad-wireless.tablet
@@ -0,0 +1,23 @@
+# Wacom
+# Bamboo Pad Wireless
+# CTH-300
+#
+# Button events sent from touch interface
+
+[Device]
+Name=Wacom Bamboo Pad Wireless
+DeviceMatch=usb:056a:0319
+Class=Bamboo
+Width=4
+Height=3
+Layout=bamboo-pad.svg
+
+[Features]
+Stylus=true
+Reversible=false
+Touch=true
+Buttons=2
+
+[Buttons]
+Bottom=A;B
+EvdevCodes=0x110;0x111
diff --git a/data/bamboo-pad.tablet b/data/bamboo-pad.tablet
new file mode 100644
index 0000000..27518a9
--- /dev/null
+++ b/data/bamboo-pad.tablet
@@ -0,0 +1,23 @@
+# Wacom
+# Bamboo Pad
+# CTH-301
+#
+# Button events sent from touch interface
+
+[Device]
+Name=Wacom Bamboo Pad
+DeviceMatch=usb:056a:0318
+Class=Bamboo
+Width=4
+Height=3
+Layout=bamboo-pad.svg
+
+[Features]
+Stylus=true
+Reversible=false
+Touch=true
+Buttons=2
+
+[Buttons]
+Bottom=A;B
+EvdevCodes=0x110;0x111
diff --git a/data/layouts/bamboo-pad.svg b/data/layouts/bamboo-pad.svg
new file mode 100644
index 0000000..4d3b4ef
--- /dev/null
+++ b/data/layouts/bamboo-pad.svg
@@ -0,0 +1,59 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
+   "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>
+<!--
+   Designed after data from 
http://www.wacom-asia.com/download/manuals/G4_QSG_EN.pdf
+   Size and positions of controls may not be accurate
+ -->
+<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="bamboo-pad"
+   width="208"
+   height="204">
+  <title
+     id="title">Wacom Bamboo Pad</title>
+  <g>
+    <rect
+       id="ButtonA"
+       class="A Button"
+       rx=".5"
+       ry=".5"
+       x="55"
+       y="184"
+       width="48"
+       height="10" />
+    <path
+       id="LeaderA"
+       class="A Leader"
+       d="M 73 172 l -23 -23 l 0 -10 m -5 0 l 10 0" />
+    <text
+       id="LabelA"
+       class="A Label"
+       x="50"
+       y="129"
+       style="text-anchor:middle;">A</text>
+  </g>
+  <g>
+    <rect
+       id="ButtonB"
+       class="B Button"
+       rx=".5"
+       ry=".5"
+       x="105"
+       y="184"
+       width="48"
+       height="10" />
+    <path
+       id="LeaderB"
+       class="B Leader"
+       d="M 135 172 l 23 -23 l 0 -10 m -5 0 l 10 0" />
+    <text
+       id="LabelB"
+       class="B Label"
+       x="158"
+       y="129"
+       style="text-anchor:middle;">B</text>
+  </g>
+</svg>
-- 
2.15.1


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to