Some changes to Controller input handling. Added makefile.
fixup! Some changes to Controller input handling. Added makefile.