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));