[Bug 11846] tablet pressure sensitivity not working in Sai and many other key graphic applications

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Mar 24 17:32:42 CDT 2012


http://bugs.winehq.org/show_bug.cgi?id=11846

Kaetemi <kaetemi at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kaetemi at gmail.com

--- Comment #57 from Kaetemi <kaetemi at gmail.com> 2012-03-24 17:32:42 CDT ---
1.
The HWND passed to X11DRV_AttachEventQueueToTablet does not have a Window,
which causes the WT_PACKET messages not to be passed to the window procedure of
the "sfl_wintab_window" window.
Workaround in the diff that is attached gets the messages flowing.

2.
For some unknown reason SAI calls WMOpen with OutExtX and OutExtY set to 0.
This causes AddPacketToContextQueue/ScaleForContext to set the pkX and pkY of
the WMPACKET to 0. SAI interprets packets with these values as invalid and does
not handle the packet, causing it to be handled as mouse input (and thus no
pressure).
Hacking false values into these does make SAI register it as pen input, however
the input is not properly registered as SAI is reinterpreting the position data
as 0 again, presumably due to the actual reason why it set the values in the
WMOpen call as 0.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list