add joystick axis events
simplify example program