http://bugs.winehq.org/show_bug.cgi?id=58163 Bug ID: 58163 Summary: WINTAB32.dll: AzPainter2 pressure does not work with pen tablet Product: Wine Version: 10.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winex11.drv Assignee: wine-bugs(a)winehq.org Reporter: axis6404(a)proton.me Distribution: --- AzPainter2 pressure does not work with pen tablet. The bug is here. https://github.com/wine-mirror/wine/blob/f7503d0a996ae1243dd6c87b39a9143624a... or https://github.com/wine-mirror/wine/blob/f7503d0a996ae1243dd6c87b39a9143624a... (button_state & 0x01) or XQueryDeviceState's (XButtonState.buttons[0] & 0x01) appears to be unused. Shifting the above "button_state" 1bit to the right fixed it. Case XP-Pen Deco 01 v2 (and Unknown old pen tablet) When the pen is released: WT_PACKET's buttons 0x0 When you are drawing with the pen pressed against the board: WT_PACKET's buttons 0x2 Pen lower button: WT_PACKET's buttons 0x4 Pen top button: WT_PACKET's buttons 0x8 -- 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.