Added joystick input support

Change-Id: Ic9e10f75fc1ef103610044934f961ac613736e07