GSoC: dinput8 Action Mapping

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


On 06/14/2011 03:09 PM, Marcus Meissner wrote:
> On Tue, Jun 14, 2011 at 02:07:32PM -0300, Lucas Zawacki wrote:
>>> Also please implement unicode method and call it from ascii. (IDirectInput8AImpl_EnumDevicesBySemantics ->  IDirectInput8WImpl_EnumDevicesBySemantics)
>> Sorry if that's a stupid question, but what should I do with the
>> string parameters? Is it ok to call a W function with the A
>> parameters?
>
> No, it would need to converted back and forth.
>
> I think for the first committed patches having them seperate is fine, it could
> be factored out later, as W<->A conversion for the callback handler will be tricky.

Because callback doesn't have any string parameters it would be an easy 
thing to do.

Vitaliy.



More information about the wine-devel mailing list