Fixed segfault in main.
Added a very simple makefile for xbox_app.
Added udev rule file.
Split the main function out, and added input parsing.
Open the controllers in readwrite non-blocking mode.
Dump events until someone presses 'b'.