>From 9d23ad138c7f6b77ff1c18919aa6622a21ec3e24 Mon Sep 17 00:00:00 2001
From: Olivier Fourdan <ofour...@redhat.com>
Date: Fri, 7 Dec 2012 15:34:24 +0100
Subject: [PATCH 1/3] data: add layout for Cintiq 21UX2
Signed-off-by: Olivier Fourdan <ofour...@redhat.com>
---
data/cintiq-21ux2.tablet | 1 +
data/layouts/cintiq-21ux2.svg | 451 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 452 insertions(+), 0 deletions(-)
create mode 100644 data/layouts/cintiq-21ux2.svg
diff --git a/data/cintiq-21ux2.tablet b/data/cintiq-21ux2.tablet
index 734f9f3..df81807 100644
--- a/data/cintiq-21ux2.tablet
+++ b/data/cintiq-21ux2.tablet
@@ -48,6 +48,7 @@ DeviceMatch=usb:056a:00cc
Class=Cintiq
Width=17
Height=13
+Layout=cintiq-21ux2.svg
Styli=0x802;0x80c;0x804;0x80a;0x40802;0x4080a;0x902;0x90a;0x20802;
IntegratedIn=Display
diff --git a/data/layouts/cintiq-21ux2.svg b/data/layouts/cintiq-21ux2.svg
new file mode 100644
index 0000000..0417833
--- /dev/null
+++ b/data/layouts/cintiq-21ux2.svg
@@ -0,0 +1,451 @@
+<?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/UM_DTK2100.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="cintiq-21ux2"
+ width="560"
+ height="420">
+ <title
+ id="title">Wacom Cintiq 21UX2</title>
+ <g>
+ <rect
+ id="ButtonB"
+ class="B Button"
+ rx=".5"
+ ry=".5"
+ x="24"
+ y="144"
+ width="20"
+ height="12" />
+ <path
+ id="LeaderB"
+ class="B Leader"
+ d="M 46 150 l 5 0 l 0 -49 l 20 0" />
+ <text
+ id="LabelB"
+ class="B Label"
+ x="73"
+ y="101"
+ style="text-anchor:start;">B</text>
+ </g>
+ <g>
+ <rect
+ id="ButtonC"
+ class="C Button"
+ rx=".5"
+ ry=".5"
+ x="24"
+ y="157"
+ width="20"
+ height="12" />
+ <path
+ id="LeaderC"
+ class="C Leader"
+ d="M 46 163 l 10 0 l 0 -36 l 15 0" />
+ <text
+ id="LabelC"
+ class="C Label"
+ x="73"
+ y="127"
+ style="text-anchor:start;">C</text>
+ </g>
+ <g>
+ <rect
+ id="ButtonD"
+ class="D Button"
+ rx=".5"
+ ry=".5"
+ x="24"
+ y="170"
+ width="20"
+ height="12" />
+ <path
+ id="LeaderD"
+ class="D Leader"
+ d="M 46 176 l 15 0 l 0 -23 l 10 0" />
+ <text
+ id="LabelD"
+ class="D Label"
+ x="73"
+ y="153"
+ style="text-anchor:start;">D</text>
+ </g>
+ <g>
+ <rect
+ id="ButtonE"
+ class="E Button"
+ rx=".5"
+ ry=".5"
+ x="24"
+ y="183"
+ width="20"
+ height="12" />
+ <path
+ id="LeaderE"
+ class="E Leader"
+ d="M 46 189 l 20 0 l 0 -10 l 5 0" />
+ <text
+ id="LabelE"
+ class="E Label"
+ x="73"
+ y="179"
+ style="text-anchor:start;">E</text>
+ </g>
+ <g>
+ <circle
+ id="ButtonA"
+ class="A ModeSwitch Button"
+ cx="34"
+ cy="210"
+ r="9" />
+ <path
+ id="LeaderA"
+ class="A ModeSwitch Leader"
+ d="M 46 210 l 25 0" />
+ <text
+ id="LabelA"
+ class="A ModeSwitch Label"
+ x="73"
+ y="210"
+ style="text-anchor:start;">A</text>
+ </g>
+ <g>
+ <rect
+ id="ButtonF"
+ class="F Button"
+ rx=".5"
+ ry=".5"
+ x="24"
+ y="225"
+ width="20"
+ height="12" />
+ <path
+ id="LeaderF"
+ class="F Leader"
+ d="M 46 231 l 20 0 l 0 10 l 5 0" />
+ <text
+ id="LabelF"
+ class="F Label"
+ x="73"
+ y="241"
+ style="text-anchor:start;">F</text>
+ </g>
+ <g>
+ <rect
+ id="ButtonG"
+ class="G Button"
+ rx=".5"
+ ry=".5"
+ x="24"
+ y="238"
+ width="20"
+ height="12" />
+ <path
+ id="LeaderG"
+ class="G Leader"
+ d="M 46 245 l 15 0 l 0 23 l 10 0" />
+ <text
+ id="LabelG"
+ class="G Label"
+ x="73"
+ y="267"
+ style="text-anchor:start;">G</text>
+ </g>
+ <g>
+ <rect
+ id="ButtonH"
+ class="H Button"
+ rx=".5"
+ ry=".5"
+ x="24"
+ y="251"
+ width="20"
+ height="12" />
+ <path
+ id="LeaderH"
+ class="H Leader"
+ d="M 46 257 l 10 0 l 0 36 l 15 0" />
+ <text
+ id="LabelH"
+ class="H Label"
+ x="73"
+ y="293"
+ style="text-anchor:start;">H</text>
+ </g>
+ <g>
+ <rect
+ id="ButtonI"
+ class="I Button"
+ rx=".5"
+ ry=".5"
+ x="24"
+ y="264"
+ width="20"
+ height="12" />
+ <path
+ id="LeaderI"
+ class="I Leader"
+ d="M 46 270 l 5 0 l 0 49 l 20 0" />
+ <text
+ id="LabelI"
+ class="I Label"
+ x="73"
+ y="319"
+ style="text-anchor:start;">I</text>
+ </g>
+ <g>
+ <rect
+ id="ButtonK"
+ class="K Button"
+ rx=".5"
+ ry=".5"
+ x="516"
+ y="144"
+ width="20"
+ height="12" />
+ <path
+ id="LeaderK"
+ class="K Leader"
+ d="M 514 150 l -5 0 l 0 -49 l -20 0" />
+ <text
+ id="LabelK"
+ class="K Label"
+ x="487"
+ y="101"
+ style="text-anchor:end;">K</text>
+ </g>
+ <g>
+ <rect
+ id="ButtonL"
+ class="L Button"
+ rx=".5"
+ ry=".5"
+ x="516"
+ y="157"
+ width="20"
+ height="12" />
+ <path
+ id="LeaderL"
+ class="L Leader"
+ d="M 514 163 l -10 0 l 0 -36 l -15 0" />
+ <text
+ id="LabelL"
+ class="L Label"
+ x="487"
+ y="127"
+ style="text-anchor:end;">L</text>
+ </g>
+ <g>
+ <rect
+ id="ButtonM"
+ class="M Button"
+ rx=".5"
+ ry=".5"
+ x="516"
+ y="170"
+ width="20"
+ height="12" />
+ <path
+ id="LeaderM"
+ class="M Leader"
+ d="M 514 176 l -15 0 l 0 -23 l -10 0" />
+ <text
+ id="LabelM"
+ class="M Label"
+ x="487"
+ y="153"
+ style="text-anchor:end;">M</text>
+ </g>
+ <g>
+ <rect
+ id="ButtonN"
+ class="N Button"
+ rx=".5"
+ ry=".5"
+ x="516"
+ y="183"
+ width="20"
+ height="12" />
+ <path
+ id="LeaderN"
+ class="N Leader"
+ d="M 514 189 l -20 0 l 0 -10 l -5 0" />
+ <text
+ id="LabelN"
+ class="N Label"
+ x="487"
+ y="179"
+ style="text-anchor:end;">N</text>
+ </g>
+ <g>
+ <circle
+ id="ButtonJ"
+ class="J ModeSwitch Button"
+ cx="526"
+ cy="210"
+ r="9" />
+ <path
+ id="LeaderJ"
+ class="J ModeSwitch Leader"
+ d="M 514 210 l -25 0" />
+ <text
+ id="LabelJ"
+ class="J ModeSwitch Label"
+ x="487"
+ y="210"
+ style="text-anchor:end;">J</text>
+ </g>
+ <g>
+ <rect
+ id="ButtonO"
+ class="O Button"
+ rx=".5"
+ ry=".5"
+ x="516"
+ y="225"
+ width="20"
+ height="12" />
+ <path
+ id="LeaderO"
+ class="O Leader"
+ d="M 514 231 l -20 0 l 0 10 l -5 0" />
+ <text
+ id="LabelO"
+ class="O Label"
+ x="487"
+ y="241"
+ style="text-anchor:end;">O</text>
+ </g>
+ <g>
+ <rect
+ id="ButtonP"
+ class="P Button"
+ rx=".5"
+ ry=".5"
+ x="516"
+ y="238"
+ width="20"
+ height="12" />
+ <path
+ id="LeaderP"
+ class="P Leader"
+ d="M 514 245 l -15 0 l 0 23 l -10 0" />
+ <text
+ id="LabelP"
+ class="P Label"
+ x="487"
+ y="267"
+ style="text-anchor:end;">P</text>
+ </g>
+ <g>
+ <rect
+ id="ButtonQ"
+ class="Q Button"
+ rx=".5"
+ ry=".5"
+ x="516"
+ y="251"
+ width="20"
+ height="12" />
+ <path
+ id="LeaderQ"
+ class="Q Leader"
+ d="M 514 257 l -10 0 l 0 36 l -15 0" />
+ <text
+ id="LabelQ"
+ class="Q Label"
+ x="487"
+ y="293"
+ style="text-anchor:end;">Q</text>
+ </g>
+ <g>
+ <rect
+ id="ButtonR"
+ class="R Button"
+ rx=".5"
+ ry=".5"
+ x="516"
+ y="264"
+ width="20"
+ height="12" />
+ <path
+ id="LeaderR"
+ class="R Leader"
+ d="M 514 270 l -5 0 l 0 49 l -20 0" />
+ <text
+ id="LabelR"
+ class="R Label"
+ x="487"
+ y="319"
+ style="text-anchor:end;">R</text>
+ </g>
+ <g>
+ <rect
+ id="Strip"
+ class="Strip TouchStrip"
+ x="5"
+ y="180"
+ rx="1"
+ ry="1"
+ width="12"
+ height="60" />
+ <path
+ id="LeaderStripUp"
+ class="StripUp Strip Leader"
+ d="M 11 178 l 0 -103 l 60 0" />
+ <text
+ id="LabelStripUp"
+ class="StripUp Strip Label"
+ x="73"
+ y="75"
+ style="text-anchor:start;">Up</text>
+ <path
+ id="LeaderStripDown"
+ class="StripDown Strip Leader"
+ d="M 11 242 l 0 103 l 60 0" />
+ <text
+ id="LabelStripDown"
+ class="StripDown Strip Label"
+ x="73"
+ y="345"
+ style="text-anchor:start;">Down</text>
+ </g>
+ <g>
+ <rect
+ id="Strip2"
+ class="Strip2 TouchStrip"
+ x="543"
+ y="180"
+ rx="1"
+ ry="1"
+ width="12"
+ height="60" />
+ <path
+ id="LeaderStrip2Up"
+ class="Strip2Up Strip2 Leader"
+ d="M 549 178 l 0 -103 l -60 0" />
+ <text
+ id="LabelStrip2Up"
+ class="Strip2Up Strip2 Label"
+ x="487"
+ y="75"
+ style="text-anchor:end;">Up</text>
+ <path
+ id="LeaderStrip2Down"
+ class="Strip2Down Strip2 Leader"
+ d="M 549 242 l 0 103 l -60 0" />
+ <text
+ id="LabelStrip2Down"
+ class="Strip2Down Strip2 Label"
+ x="487"
+ y="345"
+ style="text-anchor:end;">Down</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