[PATCH 01/10] user32/tests: Added client-side raw input function

Nathan Schulte nathan.schulte at aviture.us.com
Fri Jul 3 01:39:04 CDT 2015


Vincas Miliūnas wrote:
> A comment about going beyond mouse/keyboard for raw input:
> Other devices then mouse&keyboard produce undocumented blobs of bytes;
> to interpret them, functions from the hid.dll are used. Currently they
> are unimplemented stubs in WINE as well as not the problem I am solving.
> There is a recent article about this subject - Using the Raw Input API
> to Process Joystick Input -
> http://www.codeproject.com/KB/game/RawInputJoystick.aspx

Does this imply then, that if one was to add support for "raw" rawinput 
(RIM_TYPEHID device type) it could be used in conjunction with a native 
hid.dll and software that required RIM_TYPEHID input (for e.g. game 
controllers in games) would start working?

Also, could one create an adaptation from some joystick input libraries 
(evdev/x11) and make it conform to the API in the CodeProject example, 
making modifications similar to Henri Verbeet's and have built-in 
support for this?

(Henri Verbeet's rawinput contributions: 
http://source.winehq.org/git/wine.git/?a=search&st=commit&s=rawinput)

In my particular case, the wine control for Game Controllers shows the 
event and js input interfaces are functioning fine.  The game I'm hoping 
to play (Ori and the Blind Forest, from Steam) seems to only work with 
HID rawinput for controllers.

Thanks,

--
Nate



More information about the wine-patches mailing list