Added Gamepad API support.