an Action Mapping question
hey all, I''ve just finished implementing my action mapping (allowing the user to select their controls) into a game I''ve been working on. The only problem i''ve encountered, however, is displaying what keys the user changed their controls to. I''m about to write an ugly switch which will change the string to the corresponding key, for all 256 of them, and display that to the user =(
was wondering if there was a more simple way around this perhaps? I can''t typecast to a char either, so im just holding off on the huge switch incase i find an easier way. any help/ideas?
oh yeah, doing this all in directX in my own DInput wrapper.
thanks
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement