my car have 3 motor. one on the top for control direction. two on the botom. i can interface with ps2. now I want to use those byte to control my car (like in a game). but i don't know algrithm to do that. please give me some idea

. or link or ebook ....