Moving mouse with an application (using a homemade joystick)

Started by
1 comment, last by Floating 19 years, 4 months ago
Hi, I built a little joystick with microcontroller and am sending position data through serial port to a computer. Now I want the windows cursor to be controlled by that joystick. How should I proceed? I imagine it should be pretty straightforward, however I don't know which windows commands I have to use... btw I still want the standard mouse to react. Basically I need to know how to emulate a mouse movement and mouse left/right click. Thanks a lot :)
Advertisement
Use the SendInput function?
Thanks a lot Fractoid! :)

This topic is closed to new replies.

Advertisement