Added native joystick api support.