Java program that maps joysticks and game controllers to keyboard input