dinput[1/3]: Move acquired flag to the base device class. Add tests.

Vitaliy Margolen wine-patches at kievinfo.com
Fri Dec 1 11:54:42 CST 2006


I will send the first 3 parts of the previous series. Theses are major
pieces that needs to go in first.

Change Log:
  dinput: Move acquired flag to the base device class. Add tests.

This time with few tests to show the return value of Acquire/Unacquire.

---
 dlls/dinput/device.c         |   28 ++++++++++++++++++++++++++++
 dlls/dinput/device_private.h |    3 +++
 dlls/dinput/joystick_linux.c |   23 ++++++++---------------
 dlls/dinput/keyboard.c       |   36 ++++++++++++++++--------------------
 dlls/dinput/mouse.c          |   23 ++++++++---------------
 dlls/dinput/tests/joystick.c |    8 ++++++++
 dlls/dinput/tests/keyboard.c |    4 ++++
 dlls/dinput/tests/mouse.c    |   33 ++++++++++++++++++++++++++++-----
 8 files changed, 103 insertions(+), 55 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: d958d618645dbea966eaf925a93edd155c9941bd.diff
Type: text/x-patch
Size: 14825 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20061201/5b43686f/d958d618645dbea966eaf925a93edd155c9941bd.bin


More information about the wine-patches mailing list