Click here to Skip to main content
15,942,934 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have developed a WAF which is based on maps of different places and here i am using mouse move and mouse wheel options to pan and zoom particular area.
Now further requirement is I need to Interface my Joystick to my project such a way that all the mouse move, mouse click,mouse wheel events can be performed by Joystick.

Please help me with this

Espen Harlinn 17-Jul-11 8:26am    
WAF? as in
Well, probably not, but then what?
OriginalGriff 17-Jul-11 8:42am    
Probably not, but it's a good link...:laugh:

1 solution

I used to have my joystick connected to my PC permanently, and it emulated a mouse. Stopped using it because it tended to make the "real" mouse drift up the screen, which was very annoying. If I remember correctly, I used something like this:[^] which provides a configurable mouse and keyboard emulation for a joystick.
Share this answer
Sergey Alexandrovich Kryukov 18-Jul-11 4:06am    
I agree if you want to say using joystick to substitute mouse is a bad idea. My 5. I used joystick for what it can be used and know that is a very powerful device; it should be used in a proper ways which can be far superior to mouse, but moving one with another is simply wrong thing.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900