fixed funny code
support gamepad/joystick
0.0.4