Joystick Controller written for avr(Atmega328p) Arduino
Simple Controller program written in c which works through serial communication and right now its compatible for vturtle(https://possiblywrong.wordpress.com/2010/12/04/robot-simulator-and-turtle-graphics/). Run at your own risk. Go through the documentation & Code comments for more help. (Flowchart added )
#Build for your microcontroller
Go through bulding via eclipse-avr or atmel studio.