Added support for external gamepad controller