Le lundi 27 janvier 2014 à 16:55 +0100, Frederic Crozat a écrit :
> I'm sending again the patch, since I didn't got any reply about it..

Next version, including the layout file, as asked by Peter on IRC.

-- 
Frederic Crozat <fcro...@suse.com>
SUSE
>From 9da79e732e688dee4a99b56d944ece278c12d563 Mon Sep 17 00:00:00 2001
From: Frederic Crozat <fcro...@suse.com>
Date: Wed, 8 Jan 2014 16:50:05 +0100
Subject: [PATCH] add data file for DTH-470K

This tablet is known as Wacom Pen & Touch (2nd generation), with 16
points multitouch capability. Layout file is copied from
bamboo-2fg-4x5.svg.

Signed-off-by: Frederic Crozat <fcro...@suse.com>
---
 data/bamboo-16fg-4x5.tablet      |  26 ++++++++
 data/layouts/bamboo-16fg-4x5.svg | 128 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 154 insertions(+)
 create mode 100644 data/bamboo-16fg-4x5.tablet
 create mode 100644 data/layouts/bamboo-16fg-4x5.svg

diff --git a/data/bamboo-16fg-4x5.tablet b/data/bamboo-16fg-4x5.tablet
new file mode 100644
index 0000000..656444d
--- /dev/null
+++ b/data/bamboo-16fg-4x5.tablet
@@ -0,0 +1,26 @@
+# Wacom
+# Bamboo Pen & Touch
+# CTH-470
+#
+# second generation BambooPT
+#
+# stylus with two buttons and eraser; 16FG touch
+# Pen active area: 5.8 x 3.62in
+# Touch active area: 4.92 x 3.35in
+[Device]
+Name=Wacom Bamboo 16FG 4x5
+DeviceMatch=usb:056a:00de
+Class=Bamboo
+Width=6
+Height=4
+Layout=bamboo-2fg-4x5.svg
+IntegratedIn=
+
+[Features]
+Stylus=true
+Reversible=true
+Touch=true
+Buttons=4
+
+[Buttons]
+Left=A;B;C;D
diff --git a/data/layouts/bamboo-16fg-4x5.svg b/data/layouts/bamboo-16fg-4x5.svg
new file mode 100644
index 0000000..ec56790
--- /dev/null
+++ b/data/layouts/bamboo-16fg-4x5.svg
@@ -0,0 +1,128 @@
+<?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/BambooUsersManual.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-2fg-4x5"
+   width="248"
+   height="176">
+  <title
+     id="title">Wacom Bamboo 2FG 4x5 (CTH-460)</title>
+  <g>
+    <rect
+       id="ButtonA"
+       class="A Button"
+       rx=".5"
+       ry=".5"
+       x="28"
+       y="31"
+       width="28"
+       height="36" />
+    <circle
+       id="DotA"
+       cx="41.5"
+       cy="48.5"
+       r=".5" />
+    <path
+       id="LeaderA"
+       class="A Leader"
+       d="M 58 49 l 20 0" />
+    <text
+       id="LabelA"
+       class="A Label"
+       x="80"
+       y="49"
+       style="text-anchor:start;">A</text>
+  </g>
+  <g>
+    <rect
+       id="ButtonB"
+       class="B Button"
+       rx=".5"
+       ry=".5"
+       x="28"
+       y="68"
+       width="28"
+       height="18" />
+    <circle
+       id="DotB"
+       cx="41.5"
+       cy="77.5"
+       r=".5" />
+    <path
+       id="LeaderB"
+       class="B Leader"
+       d="M 58 78 l 20 0" />
+    <text
+       id="LabelB"
+       class="B Label"
+       x="80"
+       y="78"
+       style="text-anchor:start;">B</text>
+  </g>
+  <rect
+      rx="1"
+      ry="1"
+      x="28"
+      y="87"
+      width="28"
+      height="2" />
+  <g>
+    <rect
+       id="ButtonC"
+       class="C Button"
+       x="28"
+       y="90"
+       rx=".5"
+       ry=".5"
+       width="28"
+       height="18" />
+    <circle
+       id="DotC"
+       cx="41.5"
+       cy="99.5"
+       r=".5" />
+    <path
+       id="LeaderC"
+       class="C Leader"
+       d="M 58 100 l 20 0" />
+    <text
+       id="LabelC"
+       class="C Label"
+       x="80"
+       y="100"
+       style="text-anchor:start;">C</text>
+  </g>
+  <g>
+    <rect
+       id="ButtonD"
+       class="D Button"
+       x="28"
+       y="109"
+       rx=".5"
+       ry=".5"
+       width="28"
+       height="36" />
+    <circle
+       id="DotD"
+       cx="41.5"
+       cy="126.5"
+       r=".5" />
+    <path
+       id="LeaderD"
+       class="D Leader"
+       d="M 58 127 l 20 0" />
+    <text
+       id="LabelD"
+       class="D Label"
+       x="80"
+       y="127"
+       style="text-anchor:start;">D</text>
+  </g>
+</svg>
-- 
1.8.4.5

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&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