implement some gamepad APIs
add JoyStickadded event handler
check eventType before adding joystick