From 090a3552e22023cfa6d3e2ff8d8c7dd5c5f568ae Mon Sep 17 00:00:00 2001 From: Tatsunosuke Tobita Date: Thu, 2 May 2024 12:30:11 +0900 Subject: [PATCH libwacom 07/13] Add support for Wacom Movink (#673) Signed-off-by: Tatsunosuke Tobita (cherry picked from commit 03a9a244c8cf042716fc7453aec92b6ea8274c7f) --- data/layouts/movink.svg | 153 ++++++++++++++++++++++++++++++++++++++++ data/libwacom.stylus | 19 +++++ data/movink.tablet | 52 ++++++++++++++ 3 files changed, 224 insertions(+) create mode 100644 data/layouts/movink.svg create mode 100644 data/movink.tablet diff --git ./data/layouts/movink.svg ../data/layouts/movink.svg new file mode 100644 index 000000000000..a71fb1a880aa --- /dev/null +++ ../data/layouts/movink.svg @@ -0,0 +1,153 @@ + + + + + + + + + + + Wacom Movink + + + + A + + + + + B + + + + + Wacom Movink + + + + + + + + C + + diff --git ./data/libwacom.stylus ../data/libwacom.stylus index e012e09182b7..17fea9090990 100644 --- ./data/libwacom.stylus +++ ../data/libwacom.stylus @@ -729,3 +729,22 @@ Type=Puck HasLens=false HasWheel=true Buttons=5 + +[0x10002] +# Movink +Name=UD Pen +Group=udpen +PairedStylusIds=0x1000a; +Buttons=2 +Axes=Tilt;Pressure;Distance; +Type=General + +[0x1000a] +# Movink +Name=UD Pen Eraser +Group=udpen +PairedStylusIds=0x10002; +Buttons=1 +EraserType=Invert +Axes=Tilt;Pressure;Distance; +Type=General diff --git ./data/movink.tablet ../data/movink.tablet new file mode 100644 index 000000000000..6cc4155d341b --- /dev/null +++ ../data/movink.tablet @@ -0,0 +1,52 @@ +# Wacom Movink DTH135K0C +# Sensor Type: EMR +# Features: Touch (Integrated), Tilt +# +# Button Map: +# (A=1, B=2, C=3) +# +# *------------------------------------------* +# | C | +# A | | B +# | | +# | | +# | | +# | TABLET | +# | | +# | | +# | | +# | | +# | | +# *------------------------------------------* +# +# Note: This tablet has 2 physical buttons (one left, one right) +# configured via a firmware OSD but only one button can send +# events at any time. This is button C, shown centered here. +# We cannot tell which physical button triggered the event. +# +# Note: touch data comes through the usb:056a:03f0 interface +# +# sysinfo.4XIn8KkXzp +# https://github.com/linuxwacom/wacom-hid-descriptors/issues/376#issue-2270545906 +[Device] +Name=Wacom Movink +ModelName=DTH-135K0C +DeviceMatch=usb:056a:03f0 +Class=Cintiq +Width=11 +Height=8 +Styli=@udpen; +IntegratedIn=Display +Layout=movink.svg + +[Features] +Stylus=true +Reversible=false +Touch=true +Buttons=3 + +[Buttons] +# Button C can be physically left or right depending on the firmware +# but let's assign it to Left here, that's good enough. +Left=A;C +Right=B -- 2.45.2