Gamepad support

Added support for gameapd