Internalized InputWriter to FSM

The event_information object being sent to InputWriter triggered
functions is now the player, instead of player.keys, so it's capable of
accessing FSM through there.

This also removes gamepad integration, since it looks like the library
is outdated. That will be added back later.