[PATCH 1/9] user32/tests: Added client-side raw input function tests (try 11)

Vincas Miliūnas vincas.miliunas at gmail.com
Thu Jun 30 14:22:38 CDT 2011


Changelog:
* Added tests and implementation for RIDEV_PAGEONLY and RIDEV_EXCLUDE
device flags
* Documented protocol.def request/reply fields
* Fixed invalid value assertions done with RIDEV_PAGEONLY and
RIDEV_EXCLUDE flags
* Used a better method to match device flags, so some values wouldn't be
match incorrectly
* Added raw input device registration flag mapping, so the flags could
be recognized properly in the server-side
* Merged register_raw_input_device and unregister_raw_input_device
server requests into a single one
* Separated registration usage page/id which can cover a range of
devices with usage page/id of a single input event
* Now every event is tagged with the source device handle and source
subcomponent usage page/id from that device
* Added some unused include statements for raw_input.c, so it would be
similar to the other wineserver c files.
    Otherwise WINE compilation with 32bit gcc gets broken (not yet 100%
confirmed, see the discussion with Wylda on wine-devel mailing list).
    Small patch to test for the issue -
http://dl.dropbox.com/u/6901628/bug_test.patch
    Including "winternl.h" before "winbase.h" and "winuser.h" must have
caused the issue.

Previous changelog - http://source.winehq.org/patches/data/75876

Implementing other device flags would already require invasive changes
to other WINE subsystems.

---
 dlls/user32/tests/input.c |  829
+++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 829 insertions(+), 0 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-user32-tests-Added-client-side-raw-input-function-te.patch
Type: text/x-patch
Size: 37009 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110630/4c4e06c8/attachment-0001.bin>


More information about the wine-patches mailing list