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?
- IDirectInputDevice8_SetDataFormat(iface, This->data_format.wine_df);
You do not want to do that. It's internal data format which does not have to be anything like real data format. You need to build your data format based on action mapping. I had something like this, not sure if it is correct:
Thanks, that's interesting. I'll look further into this.