Commit Graph

51 Commits

Author SHA1 Message Date
Eric Pouech 2ec6093008 wintab32: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-22 18:20:23 +01:00
Jacek Caban ca8de0e9f8 wintab32: Fix -Wabsolute-value warning.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-28 20:10:53 +02:00
John Chadwick 27afc0d3ab wintab32: Use 64-bit math in ScaleForContext.
With some tablet configurations, the InExt value passed to
ScaleForContext can be very large, leading to an integer overflow.

Signed-off-by: John Chadwick <john@jchw.io>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-18 19:12:14 +01:00
Alexandre Julliard 57d5db5d64 wintab32: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-27 09:29:13 +02:00
Alistair Leslie-Hughes 810201cf4d wintab32: Improve tracing of LOGCONTEXT.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-11 19:29:41 +02:00
Alistair Leslie-Hughes 0652a2ccc9 winex11: Implement PK_CHANGE for wintab.
Based on a patch by Eriks Dobelis.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-10 21:25:30 +02:00
Alex Henrie 13cdcdae1a wintab32: Change the LoadTabletInfo failure message from ERR to TRACE.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-25 20:37:10 +02:00
Bernhard Übelacker 3f53876cda wintab32: Correct ordinal in comment to the same as in the spec file.
Signed-off-by: Bernhard Übelacker <bernhardu@mailbox.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-13 19:18:14 +02:00
Michael Stefaniuc 0e4c00a706 wintab32: Remove an always TRUE conditional expression (PVS-Studio). 2015-01-13 19:53:58 +01:00
Eriks Dobelis 819943063d wintab32: Fix pkSerialNumber typo. 2014-03-20 21:10:13 +01:00
Frédéric Delanoy c76cc4a555 wintab32: Use BOOL type where appropriate. 2013-11-27 10:54:39 +01:00
Peter Urbanec 0ea8bf17fa wintab32: Better handling of XInput initialisation errors. 2011-03-03 17:47:14 +01:00
Peter Urbanec 5b22afd3c3 wintab32: Avoid NULL pointer dereferences. 2010-07-21 13:23:57 +02:00
Peter Urbanec 65b3393dce wintab32: Check for NULL before using context. 2009-01-07 12:50:21 +01:00
Alexandre Julliard 1ca4837891 wintab32: Make a function static. 2008-12-04 12:48:29 +01:00
John Klehm 3496d17018 wintab32: Send notification when z-order changes. 2008-10-07 15:20:19 +02:00
John Klehm b77f0a1672 wintab32: Handle negative output context range for y-axe. 2008-10-02 11:23:57 -05:00
John Klehm bf1f0568d0 wintab32: Improve tracing of LOGCONTEXT struct. 2008-10-02 10:43:32 -05:00
John Klehm 20276da9af wintab32: Support overlap statuses in WTEnable. 2008-09-12 11:43:34 +02:00
John Klehm 212488d846 wintab32: Support overlap statuses in WTOpen. 2008-09-12 11:43:19 +02:00
John Klehm 8e42ca626e wintab32: Support overlap statuses in WTOverlap. 2008-09-12 11:43:14 +02:00
John Klehm 352c98d7d5 wintab32: Implement WTSetA/W. 2008-04-14 12:40:23 +02:00
Andrew Talbot 480cd234a8 wintab32: Assign to structs instead of using memcpy. 2008-03-24 11:33:03 +01:00
Marcus Meissner e94367cc5e wintab32: Mark some signed entities as LONG. 2008-02-18 12:41:37 +01:00
Francois Gouget 327534f6ef wintab32: Add a trailing '\n' to a Wine trace. 2008-01-07 12:37:05 +01:00
Jeremy White 6c1d38649a wintab32: Remove the unused and clearly broken FindOpenContext function.
It's clear that someone left it in by accident; the TABLET_FindOpenContext
is its clear successor.
2007-12-31 17:45:19 +01:00
Jeremy White ca89d7e809 wintab32: Add modest trace information for tablets. 2007-12-31 17:45:10 +01:00
Alexandre Julliard 5c6ece129f wintab32: Fix debug traces to use wine_dbg_sprintf. 2007-12-26 13:25:54 +01:00
Jeremy White 51ea5cb4e8 wintab32: Fix the W->A translation for CSR_NAME and CSR_BTNNAMES.
Has the lovely side effect of making Photoshop pressure + tilt work.
2007-12-26 13:21:03 +01:00
Mikolaj Zalewski bc7c5218c7 wintab32: Store the context internally as Unicode, implement WTOpenW and WTGetW. 2007-09-21 12:42:16 +02:00
Mikolaj Zalewski 29a634728d winex11.drv/wintab32: Make wintab strings in winex11.drv Unicode, implement WTInfoW. 2007-09-21 12:42:00 +02:00
Andrew Talbot 7e0137da53 wintab32: Replace inline static with static inline. 2007-03-26 12:19:46 +02:00
Michael Stefaniuc d3e324f878 wintab32: Win64 printf format warning fixes. 2006-10-09 12:55:50 +02:00
Francois Gouget dd28d5be08 Tweak TRACE()s to simplify '\n' checks. 2006-10-06 17:29:27 +02:00
Michael Stefaniuc 00e779370f janitorial: Put "inline static" at the beginning of a declaration. 2006-07-07 14:30:35 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Francois Gouget 6d442aeb34 Assorted spelling fixes. 2005-11-23 20:14:43 +01:00
Francois Gouget 0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Alexandre Julliard c6b005ac69 Fixed some more traces to use the right printf format and avoid
typecasts.
2005-09-12 14:12:46 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Hans Leidekker 97d1b11ebd Fix uninitialized warnings. 2005-05-24 12:34:29 +00:00
Robert North 68eb384366 WTEnable, when called to disable tablet context, clears context queue,
as per wintab spec.
2005-01-24 13:36:21 +00:00
Robert North 2b4f3ec069 - Correct overflow 1 message too early.
- Overflow now going onto message queue.
- Overflow state correctly or-ed with other packet status.
2005-01-24 13:32:55 +00:00
Robert North 8ed495987e - Don't post messages on Wine message queue, if tablet context flags
posting are disabled.
- When posting messages on Wine message queue, use message base stored
  in tablet context, not the default message base.
- Ensure that X11 Proximity events put messages onto Wintab message
  queue.
2005-01-24 12:40:01 +00:00
Robert North 7fafd5ccc2 Set the values WTInfoA returns from screen size for CTX_SYSEXTX and
CTX_SYSEXTY context fields, to match Windows behaviour.
2004-12-06 16:07:33 +00:00
Robert North 584c157237 - Ensure that if buffer pointer is null, queue is flushed.
- Ensure that correct packets are copied into output buffer.
- Use memmove when moving packets within queue, as source and dest
  will typically overlap.
- When moving packets in queue, ensure correct number of packets are
  moved.
2004-11-28 14:54:26 +00:00
Hans Leidekker 719a789792 Fix signed/unsigned comparison warnings. 2004-09-22 02:46:38 +00:00
Marcus Meissner fd3d572190 Replaced incorrect C comparison construct. 2004-08-02 18:25:42 +00:00
Aric Stewart 2eebf3c78e Enable Tablet support with both Tilt and Pressure. 2004-01-09 00:03:00 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00