Forcefeedback for Leonardo

I have a steering wheel running and Arduino Leonardo, and have been using for a few months. I want to expand this wheel and install a stepper motor and a A4988 driver for force feedback. I cannot find any info about the USB or coding. Can anyone point me in the right direction?

Have a look at this simple stepper code and at stepper motor basics

...R

Thanks. I can now wire up the stepper motor, but need info on how to get the driver/motor to respond from in-game force feedback functions.

LazyArduino:
how to get the driver/motor to respond from in-game force feedback functions.

Does the game send data to your Leonardo?

If so can you post an example of the sort of data that it sends.

I can't remember if the Leonardo can receive data from the PC while it is acting as a keyboard or mouse - but you ahve not told us anything about your Leonardo program.

...R

I'm using the code from this

http://www.imaginaryindustries.com/blog/?p=80

Don't expect people to go to another website to save you the trouble of posting your code here.

...R