Updated testcase for gamepad testing, fixed code style