Leap4Joy
Leap Motion Joystick Emulation Code Sample
Custom vJoy feeder code for Leap Motion controller.
You will need the Leap Motion SDK from Leapmotion.com as well as vJoystick installed along with the vJoystick 2.02 SDK from http://vjoystick.sourceforge.net/
See the wiki for more info.