Handling player input
Posted September 10th, 2009 by Bert HekmanTo kill as many birds as you can, with one stone. That was my goal when I created the GameInput class. I wanted it to handle the keyboard and joystick input for one player. Here’s how it works.
Keyboard keys, joystick buttons and axis movements should generate actions. And with actions I mean stuff like: move [...]

