>From 656ecf22f210c191677f7f7139d989c56452a97e Mon Sep 17 00:00:00 2001
From: Olivier Fourdan <ofour...@redhat.com>
Date: Mon, 10 Dec 2012 17:36:09 +0100
Subject: [PATCH 3/3] data: add layout for DTI-520

Signed-off-by: Olivier Fourdan <ofour...@redhat.com>
---
 data/dti-520.tablet      |    1 +
 data/layouts/dti-520.svg |  204 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 205 insertions(+), 0 deletions(-)
 create mode 100644 data/layouts/dti-520.svg

diff --git a/data/dti-520.tablet b/data/dti-520.tablet
index 700ab51..0aecd54 100644
--- a/data/dti-520.tablet
+++ b/data/dti-520.tablet
@@ -20,6 +20,7 @@ DeviceMatch=usb:056a:003a
 Class=PenDisplay
 Width=14
 Height=12
+Layout=dti-520.svg
 # FIXME does the stylus have an eraser?
 # Styli=0xfffff;
 IntegratedIn=Display;System
diff --git a/data/layouts/dti-520.svg b/data/layouts/dti-520.svg
new file mode 100644
index 0000000..15a384c
--- /dev/null
+++ b/data/layouts/dti-520.svg
@@ -0,0 +1,204 @@
+<?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/DTI-520UB_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="dti-520"
+   width="344"
+   height="300">
+  <title
+     id="title">Wacom DTI520UB/L</title>
+  <g>
+    <circle
+       id="ButtonA"
+       class="A Button"
+       cx="152"
+       cy="280"
+       r="6" />
+    <path
+       id="LeaderA"
+       class="A Leader"
+       d="M 100 210 l 10 0 m -5 0 l 47 47 l 0 14" />
+    <text
+       id="LabelA"
+       class="A Label"
+       x="105"
+       y="200"
+       style="text-anchor:middle;">A</text>
+  </g>
+  <g>
+    <circle
+       id="ButtonB"
+       class="B Button"
+       cx="132"
+       cy="280"
+       r="6" />
+    <circle
+       id="ButtonB"
+       class="B Button"
+       cx="212"
+       cy="280"
+       r="6" />
+    <path
+       id="LeaderB"
+       class="B Leader"
+       d="M 132 288 l 0 8 M 212 288 l 0 8 l -100 0 l -62 -62 l 0 -24 m -5 0 l 10 0" />
+    <text
+       id="LabelB"
+       class="B Label"
+       x="50"
+       y="200"
+       style="text-anchor:middle;">B</text>
+  </g>
+
+  <g>
+    <circle
+       id="ButtonC"
+       class="C Button"
+       cx="192"
+       cy="280"
+       r="6" />
+    <path
+       id="LeaderC"
+       class="C Leader"
+       d="M 198 274 l 40 -40 l 56 0 l 0 -24 m -5 0 l 10 0" />
+    <text
+       id="LabelC"
+       class="C Label"
+       x="294"
+       y="200"
+       style="text-anchor:middle;">C</text>
+  </g>
+  <g>
+    <circle
+       id="ButtonD"
+       class="D Button"
+       cx="172"
+       cy="273"
+       r="6" />
+    <path
+       id="LeaderD"
+       class="D Leader"
+       d="M 167 210 l 10 0 m -5 0 l 0 54" />
+    <text
+       id="LabelD"
+       class="D Label"
+       x="172"
+       y="200"
+       style="text-anchor:middle;">D</text>
+  </g>
+  <g>
+    <circle
+       id="ButtonE"
+       class="E Button"
+       cx="172"
+       cy="287"
+       r="6" />
+    <path
+       id="LeaderE"
+       class="E Leader"
+       d="M 178 281 l 61 -61 l 0 -10 m -5 0 l 10 0" />
+    <text
+       id="LabelE"
+       class="E Label"
+       x="239"
+       y="200"
+       style="text-anchor:middle;">E</text>
+  </g>
+  <g>
+    <circle
+       id="ButtonF"
+       class="F Button"
+       cx="138"
+       cy="10"
+       r="4" />
+    <path
+       id="LeaderF"
+       class="F Leader"
+       d="M 132 10 l -82 0 l 0 80 m -5 0 l 10 0" />
+    <text
+       id="LabelF"
+       class="F Label"
+       x="50"
+       y="100"
+       style="text-anchor:middle;">F</text>
+  </g>
+  <g>
+    <circle
+       id="ButtonG"
+       class="G Button"
+       cx="155"
+       cy="10"
+       r="4" />
+    <path
+       id="LeaderG"
+       class="G Leader"
+       d="M 151 14 l -46 46 l 0 30 m -5 0 l 10 0" />
+    <text
+       id="LabelG"
+       class="G Label"
+       x="105"
+       y="100"
+       style="text-anchor:middle;">G</text>
+  </g>
+  <g>
+    <circle
+       id="ButtonH"
+       class="H Button"
+       cx="172"
+       cy="10"
+       r="4" />
+    <path
+       id="LeaderH"
+       class="H Leader"
+       d="M 172 15 l 0 75 m -5 0 l 10 0" />
+    <text
+       id="LabelH"
+       class="H Label"
+       x="172"
+       y="100"
+       style="text-anchor:middle;">H</text>
+  </g>
+  <g>
+    <circle
+       id="ButtonI"
+       class="I Button"
+       cx="189"
+       cy="10"
+       r="4" />
+    <path
+       id="LeaderI"
+       class="I Leader"
+       d="M 193 14 l 46 46 l 0 30 m -5 0 l 10 0" />
+    <text
+       id="LabelI"
+       class="I Label"
+       x="239"
+       y="100"
+       style="text-anchor:middle;">I</text>
+  </g>
+  <g>
+    <circle
+       id="ButtonJ"
+       class="J Button"
+       cx="206"
+       cy="10"
+       r="4" />
+    <path
+       id="LeaderJ"
+       class="J Leader"
+       d="M 212 10 l 82 0 l 0 80 m -5 0 l 10 0" />
+    <text
+       id="LabelJ"
+       class="J Label"
+       x="294"
+       y="100"
+       style="text-anchor:middle;">J</text>
+  </g>
+</svg>
-- 
1.7.1

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to