for user input. It then will print the button type, device number, and
button number.
Some of the code was derived straight from the fceu codebase to ensure
full compatibility.
I want gfceux to be able to directly modify the button configuration.
With fceux new config file system, gfceux will be able to rewrite values
based on user input. This would be a much friendlier option than the
whole "titlebar" input sytem.
I wrote this in C, because I didn't want another bullshit dependency to
get gfceux to run right (pygame sdl bindings)