DirectInput: Action mapping with Any

Contrast

Newcomer
Joined
Jan 25, 2003
Messages
4
I'm trying to get action mapping to work, but I don't find any of the predefined enumerations to have as many button definitions as I'd like, so I want to use the Any enumeration. In C++ this enumeration features many axes, some hat switches, and a button macro that you can feed a number to. In C#, which I'm using, the enumeration is missing the button macro, so I can't map buttons. Furthermore, I'd like to select a genre for the ActionFormat that corresponds to Any, but there doesn't seem to be one in the Any enumeration like there is in the other, predefined enumerations.
What can I do to give my ActionFormat a good genre, and what's the C# equivalent of this button macro?
 
Back
Top