working version of joystick to videoray