[Bug 151448]

2012-04-01 Thread Kaetemi
Additionally, the side button is not behaving correctly compared to when
running the application under windows. It's like they're switched, or
one is not working or something.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/151448

Title:
  Wacom pressure sensitivity lacking under Wine applications.

To manage notifications about this bug go to:
https://bugs.launchpad.net/wine/+bug/151448/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 151448]

2012-03-27 Thread Kaetemi
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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/151448

Title:
  Wacom pressure sensitivity lacking under Wine applications.

To manage notifications about this bug go to:
https://bugs.launchpad.net/wine/+bug/151448/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 151448]

2012-03-27 Thread Kaetemi
2. (Update)
Hack to get positioning working:

Below if(wCategory == WTI_DEFSYSCTX  nIndex == 0) { ... } in context.c add:
if (wCategory == WTI_DDCTXS  nIndex == 0)
{
buf.lcOutExtY = GetSystemMetrics(SM_CYSCREEN);
buf.lcOutExtX = GetSystemMetrics(SM_CXSCREEN);
}

With this everything works, but when the pen is pressed down and not
moving the position randomly shoots around (similar behaviour also
occured before in other applications running under wine that did not
require these changes to the code).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/151448

Title:
  Wacom pressure sensitivity lacking under Wine applications.

To manage notifications about this bug go to:
https://bugs.launchpad.net/wine/+bug/151448/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 151448]

2012-03-27 Thread Kaetemi
3.
Random pen movement is stopped by not forwarding events where 
(gMsgPacket.pkOrientation.orAltitude  0) in wintab.c.

Pressure works fine with above fixes.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/151448

Title:
  Wacom pressure sensitivity lacking under Wine applications.

To manage notifications about this bug go to:
https://bugs.launchpad.net/wine/+bug/151448/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 151448]

2012-03-27 Thread Kaetemi
Created attachment 39527
Workaround for hWnd with no Window to use parent and ignore negative orAltitude 
packets

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/151448

Title:
  Wacom pressure sensitivity lacking under Wine applications.

To manage notifications about this bug go to:
https://bugs.launchpad.net/wine/+bug/151448/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 151448]

2012-03-27 Thread Kaetemi
Created attachment 39528
Workaround for applications that don't set lcOutExtX and lcOutExtY correctly

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/151448

Title:
  Wacom pressure sensitivity lacking under Wine applications.

To manage notifications about this bug go to:
https://bugs.launchpad.net/wine/+bug/151448/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs