Re: [Linuxwacom-devel] [PATCH] data: Cintiq 24HD touch

2012-11-07 Thread Peter Hutterer
On Wed, Oct 24, 2012 at 03:15:28PM -0700, Jason Gerecke wrote:
 Signed-off-by: Jason Gerecke killert...@gmail.com
 ---
 I'm not sure if this is the right way to define this tablet since it 
 presents itself to the system as more than one USB device. Its got what 
 is essentially a vanilla 24HD at 056a:00f8, and the touch sensor at 
 056a:00f6.
 
 Do we want to have a single definition file for what is a single 
 logical tablet? If so, should 056a:00f6 be mentioned on the 
 DeviceMatch line, and should Touch=True?

the bamboos do that, don't they? And they have the same data descriptions as
below, pretty much. Not 100% sure on the match line, we can add additional
matches but is this what we want here?

Merged this patch, if I'm wrong we'll fix it then.

Cheers,
   Peter

 
  data/cintiq-24hd-touch.tablet | 65 
 +++
  1 file changed, 65 insertions(+)
  create mode 100644 data/cintiq-24hd-touch.tablet
 
 diff --git a/data/cintiq-24hd-touch.tablet b/data/cintiq-24hd-touch.tablet
 new file mode 100644
 index 000..c672bbd
 --- /dev/null
 +++ b/data/cintiq-24hd-touch.tablet
 @@ -0,0 +1,65 @@
 +# Wacom
 +# Cintiq 24HD touch
 +# DTH-2400
 +#
 +# Button Map:
 +# (A=1, B=2, C=3, ...)
 +#
 +#   *---*
 +#   |   |
 +#  A|   |I
 +#  B|   |J
 +#  C|DISPLAY|K
 +#  DEFF |   | NNML
 +#  DEGG |   | OOML
 +#  DEHH |   | PPML
 +#   |   |
 +#   *---*
 +#
 +# Touch Ring Map:
 +# (A=1st ring, B=2nd ring, ...)
 +#
 +#*---*
 +#|   |
 +#  A |DISPLAY| B
 +#|   |
 +#*---*
 +#
 +# LED Map:
 +# (XY=Bank X, LED Y; *=Invisible)
 +#
 +# *---*
 +# |   |
 +#  10 |   | 00
 +#  11 |   | 01
 +#  12 |DISPLAY| 02
 +#  1* |   | 0*
 +# |   |
 +# *---*
 +#
 +# Note: touch data comes through the usb:056a:00f6 interface
 +
 +[Device]
 +Name=Wacom Cintiq 24HD touch
 +DeviceMatch=usb:056a:00f8
 +Class=Cintiq
 +Width=21
 +Height=13
 +Styli=0x802;0x80c;0x804;0x80a;0x40802;0x4080a;0x902;0x90a;0x20802;
 +
 +[Features]
 +Stylus=true
 +Reversible=false
 +Touch=true
 +Buttons=16
 +Ring=true
 +Ring2=true
 +BuiltIn=true
 +StatusLEDs=Ring2;Ring
 +
 +[Buttons]
 +Left=A;B;C;D;E;F;G;H
 +Right=I;J;K;L;M;N;O;P
 +
 +Ring=A;B;C
 +Ring2=I;J;K
 -- 
 1.8.0
 
 
 --
 Everyone hates slow websites. So do we.
 Make your web apps faster with AppDynamics
 Download AppDynamics Lite for free today:
 http://p.sf.net/sfu/appdyn_sfd2d_oct
 ___
 Linuxwacom-devel mailing list
 Linuxwacom-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
 

--
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel


Re: [Linuxwacom-devel] [PATCH] data: Cintiq 24HD touch

2012-11-07 Thread Jason Gerecke
On Wed, Nov 7, 2012 at 3:00 PM, Peter Hutterer peter.hutte...@who-t.net wrote:
 On Wed, Oct 24, 2012 at 03:15:28PM -0700, Jason Gerecke wrote:
 Signed-off-by: Jason Gerecke killert...@gmail.com
 ---
 I'm not sure if this is the right way to define this tablet since it
 presents itself to the system as more than one USB device. Its got what
 is essentially a vanilla 24HD at 056a:00f8, and the touch sensor at
 056a:00f6.

 Do we want to have a single definition file for what is a single
 logical tablet? If so, should 056a:00f6 be mentioned on the
 DeviceMatch line, and should Touch=True?

 the bamboos do that, don't they? And they have the same data descriptions as
 below, pretty much. Not 100% sure on the match line, we can add additional
 matches but is this what we want here?

 Merged this patch, if I'm wrong we'll fix it then.

 Cheers,
Peter

The Bamboos and I5 are similar, but not quite the same. In their case,
pen and touch data come from different endpoints on the same USB
device. In the case of the 24HDT, the device appears to the kernel as
a USB hub with two different tablets already connected to it. The only
reason this may be of interest is if gnome-settings-daemon were to see
the two devices as independent. At the moment it seems to ignore the
touchscreen device entirely, which is fine for most purposes*.


*I just realized I haven't tried the 24HDT in a multi-head setup.
Ignoring the touchscreen would be the wrong thing to do here, since it
shouldn't be mapped to the whole desktop. I'll have to clean off some
additional desk space tomorrow to make room...

Jason

---
When you're rife with devastation / There's a simple explanation:
You're a toymaker's creation / Trapped inside a crystal ball.
And whichever way he tilts it / Know that we must be resilient
We won't let them break our spirits / As we sing our silly song.


  data/cintiq-24hd-touch.tablet | 65 
 +++
  1 file changed, 65 insertions(+)
  create mode 100644 data/cintiq-24hd-touch.tablet

 diff --git a/data/cintiq-24hd-touch.tablet b/data/cintiq-24hd-touch.tablet
 new file mode 100644
 index 000..c672bbd
 --- /dev/null
 +++ b/data/cintiq-24hd-touch.tablet
 @@ -0,0 +1,65 @@
 +# Wacom
 +# Cintiq 24HD touch
 +# DTH-2400
 +#
 +# Button Map:
 +# (A=1, B=2, C=3, ...)
 +#
 +#   *---*
 +#   |   |
 +#  A|   |I
 +#  B|   |J
 +#  C|DISPLAY|K
 +#  DEFF |   | NNML
 +#  DEGG |   | OOML
 +#  DEHH |   | PPML
 +#   |   |
 +#   *---*
 +#
 +# Touch Ring Map:
 +# (A=1st ring, B=2nd ring, ...)
 +#
 +#*---*
 +#|   |
 +#  A |DISPLAY| B
 +#|   |
 +#*---*
 +#
 +# LED Map:
 +# (XY=Bank X, LED Y; *=Invisible)
 +#
 +# *---*
 +# |   |
 +#  10 |   | 00
 +#  11 |   | 01
 +#  12 |DISPLAY| 02
 +#  1* |   | 0*
 +# |   |
 +# *---*
 +#
 +# Note: touch data comes through the usb:056a:00f6 interface
 +
 +[Device]
 +Name=Wacom Cintiq 24HD touch
 +DeviceMatch=usb:056a:00f8
 +Class=Cintiq
 +Width=21
 +Height=13
 +Styli=0x802;0x80c;0x804;0x80a;0x40802;0x4080a;0x902;0x90a;0x20802;
 +
 +[Features]
 +Stylus=true
 +Reversible=false
 +Touch=true
 +Buttons=16
 +Ring=true
 +Ring2=true
 +BuiltIn=true
 +StatusLEDs=Ring2;Ring
 +
 +[Buttons]
 +Left=A;B;C;D;E;F;G;H
 +Right=I;J;K;L;M;N;O;P
 +
 +Ring=A;B;C
 +Ring2=I;J;K
 --
 1.8.0



--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel