Hey. I know you guys are working on a user’s manual but I’ve got to ask this question to help me with my development with my current project.
What data type do you use to identify what keyboard button, mouse button, or joystick button was pressed?
I saw in Axis.Identifier there is a method called getName() and that returns a String.
I am guessing that all keyboard, mouse, and joystick buttons inheret from this class. So would I be safe to use Strings for holding keyboard/mouse/joystick buttons to determine what action needs to associate with these buttons or can I get that information another way, such as the use of ints?
Also, what is the performance differnce from making a buch of string comparisons as apposed to integer comparisions?
Thanks