working joystick stuff