Here is a thread about an joystick encoder like the one of your kit. You may try the solution posted there by @absolut1978 .