joystick sample: fix event polling (pumping really), display hats as well