Fully implemented Joystick input

Also changed prototypes, since the old system was a bit wonky and less
fluid