add joystick support to example