http://bugs.winehq.org/show_bug.cgi?id=18517
--- Comment #32 from Jay Hilliard jaydhilliard@gmail.com --- Is that supposed to be WTPKT instead of UINT?
+static UINT lastNormalPressure = 0xffff;
I only ask because it looks like pkNormalPressure is WTPKT.
In any case, I tested 1.7.14 and cs6 with your two patches (except I used WTPKT instead of UINT) and it appears to work. There's still a bug with key_state_cache which may require me to revert parts of commit cb3b7237925a24ba4c5696dd079fdc5d99a48577 like others have done with photoshop so painting works instead of giving only dots.
(In reply to phaethon from comment #26)