tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Huion tablet support
On Wed, 19 Feb 2025, Yorick Hardy wrote:
On 2025-02-19, adr wrote:
[...]
One cheap solution I'm seeing is to check in ums.c for HUD_TIP_PRESSURE
at ums_attach(), when hid_start_parse() is used for calibration,
then change hidms_loc_z to match that of pressure.
A similar check should be done in sys/dev/hid/hidms.c:hidms_intr()
to add the flag WSMOUSE_INPUT_ABSOLUTE_Z. Would be a good idea
to check for the HIDMS_DIGITIZER flag and assume that z will be
absolute?
[...]
For pressure on a Wacom Intuos -- on the Xorg side of things -- I
have been using the attached patch for many years. It abuses the Z
input for pressure, so probably not what we want commited; but
perhaps it provides a starting point.
Well, I was thinking of using the z axis because that's what is
precisely done in uintuos(4), I thought that something like your
patch wasn't necessary. I din't even look, I took it for granted.
I supposed that some discussion had happened when this driver was
imported to the netbsd sources.
The obvious problem will arise when someone try to support a drawing
device that also includes a wheel, if there is any.
So what do you think? Should a new axis be added to wscons only
for this? Should the z axis be used for pressure on these devices?
(and w for tilt?)
This has to be settled by the netbsd developers before anything
else.
Regards.
adr
PS. Thanks for the patch!
Home |
Main Index |
Thread Index |
Old Index