added joystick support for character movement, working state