I want to emulate a joystick using keypresses and/or mouse input. So other programs/games will think that user is using a joystick while he is using a mouse.
So the program will install kindof a driver for fake usb or fake an existing joystick.
There is an existing program called PPJoy which does the same thing but sadly its closed source and needs the user to install it standalone and do the configuration steps.
Found this: http://www.microsoft.com/whdc/archive/hidgame.mspx
but not able to make much sense out of it. Some high level pointers required so that I can then research on my own instead of blindly knocking all doors :)
edit: i am trying to control a third party program which supports only joystick