http://bugs.winehq.org/show_bug.cgi?id=11846
Kaetemi kaetemi@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |kaetemi@gmail.com
--- Comment #57 from Kaetemi kaetemi@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.