underdoeg/ofxGamepad — pull request #7 by joebain (2013-02-17 13:09:12+00:00)
Title: Fixing latency for linux axis events.

Read the joypad device file till it's empty on each update. This makes
sure we don't get a backlog of joypad events, which can introduce
latency.

====

I have been seeing latency of ~1 second on axis input on my laptop - Ubuntu 12.04 with a wired XBox 360 controller. This change seems to fix it.