Create gamepad.cpp