Refactor Input classes

   joystick-state -> state
   manipulate multiple joystick
   fix function name