http://bugs.winehq.org/show_bug.cgi?id=15341
Summary: Artrage 2.5 Starter and Full editions: Precice tablet mode has inverted Y axis. Product: Wine Version: unspecified Platform: Other OS/Version: other Status: UNCONFIRMED Severity: minor Priority: P2 Component: wintab32 AssignedTo: wine-bugs@winehq.org ReportedBy: azathothgr@gmail.com
When using 'precise tablet mode' in ArtRage 2.5 starter or full [http://www.artrage.com/artragedown.html] the Y axis is inverted.
Adding the following after line 204 in wintab32/context.c fixes it, but I don't know if it's a proper solution, breaks other programs, or understand what the code is actually supposed to do (besides flipping y).
context.c:line 204: /* flip the Y axis */ if (ptr->context.lcOutExtY > 0) packet->pkY = ptr->context.lcOutExtY - packet->pkY;
changed to : /* flip the Y axis */ if (ptr->context.lcOutExtY > 0) packet->pkY = ptr->context.lcOutExtY - packet->pkY;
if (ptr->context.lcOutExtY < 0) packet->pkY = abs(ptr->context.lcOutExtY) - packet->pkY;