GSoC: dinput8 Action Mapping

Vitaliy Margolen wine-devel at kievinfo.com
Wed Jun 15 16:47:06 CDT 2011


On 06/14/2011 10:57 AM, Lucas Zawacki wrote:
>> keybd_event( key, 0, 0, 0);
>> Have you tried using more meaningful parameters then 0?
>
> Yes, I've tried issuing a scan code as the second parameter, it was no
> use. I tried sending the keybd_event and then sending another one with
> KEYEVENTF_KEYUP to "emulate" a key press and a release and still no
> change. I've tried setting dummy values as the last parameter, but had
> similar results. I don't know what it's for and msdn was not
> helpful...

On Windows dinput really does talk to the driver directly. That's why you 
don't see those injected events. At least you can test things with native 
dinput on Wine. And don't include tests in your patches. Just use them to 
validate that everything is working.

Vitaliy.



More information about the wine-devel mailing list