[DInput] Tribes fix...

Ove Kaaven ovek at arcticnet.no
Tue Feb 11 07:56:49 CST 2003


man, 2003-02-10 kl. 23:21 skrev Lionel Ulmer:
> Hi all,
> 
> With this patch, Tribes1 now likes our DInput driver.
> 
>      Lionel (who waits for his beer when he will visit Sweden :-) )
> 
> Changelog:
>   Implement EnumObjects for the keyboard device

> strcpy(ddoi.tszName, "a"); /* This should be better handled :-/ */

Perhaps the right way to do this would be something like

GetKeyNameTextA(((i & 0x7f) << 16) | ((i & 0x80) << 17),
 ddoi.tszName, sizeof(ddoi.tszName));





More information about the wine-devel mailing list