Game Development Reference
In-Depth Information
Adding a game controller or joystick input
So far, we've used the mouse and keyboard for input. It's the most common way to handle
controls on a PC, but let's explore the game controller and joystick support in jMon-
keyEngine a bit. Writing code for a game controller is not very difficult. The tricky part is
being agnostic enough to support the wide range of devices out there. Gone are the days
when a joystick only had four directions and a fire button.
Search WWH ::




Custom Search