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.
Added *.swp to .gitignore for vim files