[Bug 15341] New: Artrage 2.5 Starter and Full editions: Precice tablet mode has inverted Y axis.

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Sep 20 08:30:02 CDT 2008


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 at winehq.org
        ReportedBy: azathothgr at 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;


-- 
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