Documented and refactored input code.
Linted everything related to game input. Ready to merge back into develop.