Commit Graph

23 Commits

Author SHA1 Message Date
Jeremy White 659494660e wintab32: If we could not find a stylus sort of device, we haven't found a tablet. 2007-12-31 17:47:16 +01:00
Jeremy White 51aecf8056 wintab32: Add logic to detect specific tablet cursor types, use it to discard non tablet X devices. 2007-12-31 17:47:12 +01:00
Jeremy White ca89d7e809 wintab32: Add modest trace information for tablets. 2007-12-31 17:45:10 +01:00
Jeremy White f193197a66 wintab32: Capture the number of buttons earlier, allowing our button maps to be filled in. 2007-12-26 13:20:58 +01:00
Jeremy White 3036e7f626 wintab32: Implement the ability to return the number of devices and cursors. 2007-12-26 13:18:53 +01:00
Jeremy White f5adac3b19 wintab32: Don't return information for non existent cursors. 2007-12-26 13:18:47 +01:00
Jeremy White 9267fcd99f wintab32: Correctly handle devices with a device id of 0.
The XInput macros such as DeviceMotionNotify will correctly return an eventclass of 0
if the device id is 0.  Given that, we cannot use eventclass != 0 as a meaningful
test, and must instead use the returned type.
2007-12-26 13:18:32 +01:00
Jeremy White d58429d085 wintab32: Compute our physical device characteristics based on the first tablet device that looks like a stylus.
Otherwise, we may be computing based on a mouse or cursor, and then
come to incorrect values for our tilt and pressure settings.
2007-12-26 13:18:25 +01:00
Jeremy White 5132ab4693 wintab32: Add additional device tracing. 2007-12-26 13:18:15 +01:00
Jeremy White 64a929c483 wintab32: Order the cursor array by the standard Wacom promulgates. 2007-12-26 13:17:48 +01:00
Jeremy White 047a969658 wintab32: Add constants for cursor types and use them. 2007-12-26 13:17:00 +01:00
Jeremy White ee0554b737 wintab32: Do not offset the physical device id by the cursor number. 2007-12-24 16:22:51 +01:00
Jeremy White c9fcb15b11 wintab32: Store and use the physical device id to match device to cursor. 2007-12-24 16:22:44 +01:00
Mikolaj Zalewski 29a634728d winex11.drv/wintab32: Make wintab strings in winex11.drv Unicode, implement WTInfoW. 2007-09-21 12:42:00 +02:00
Mikolaj Zalewski 8072f6985c winex11.drv: wintab: Add missing CTX_PKTDATA support. 2007-09-20 16:34:38 +02:00
Mikolaj Zalewski 704a56864d winex11.drv: wintab: Add a missing break. 2007-09-20 16:34:33 +02:00
Mikolaj Zalewski ee2db299de winex11.drv: wintab: Copy also the button #0 state. 2007-08-31 13:24:55 +02:00
Alexandre Julliard d68d4335af configure: Make the libXi soname check depend on the header check. 2007-07-09 22:42:49 +02:00
Alexandre Julliard 5a95cfbd9c configure: Export the shared library extension instead of hardcoding .so. 2007-07-02 14:35:05 +02:00
Andrew Talbot a33f71a32d winex11.drv: Replace inline static with static inline. 2007-03-17 20:04:54 +01:00
Vitaliy Margolen 8e52754226 winex11drv: Do extra error checking when opening XInput device. 2007-02-07 11:34:13 +01:00
Michael Stefaniuc 00e779370f janitorial: Put "inline static" at the beginning of a declaration. 2006-07-07 14:30:35 +02:00
Alexandre Julliard bdb4fab7a7 x11drv: Renamed the x11drv directory to winex11.drv. 2006-06-16 09:57:50 +02:00