How to define your own mouse?
I have a device here that I want to use as a mouse. I got to make the cursor move as i wanted, but I can’t propagate mouse clicks, and every Qt class for writing your own driver seems to be only for Embedded linux. Any solution(s) or idea(s)?
I am running Qt 4.7.0 and working on windows XP.
What kind of device is that?.. How is it going to communicate with your PC?.. I have used my Nokia 6600 as an optical mouse 4 years ago!! So, I believe in nothing is impossible..
This may not be applicable to your use case, but a small suggestion. Write a program that listens for your “device’s” signals, let that Listener program convert those signals into appropriate mouse gestures… If you just need it in your application, then start the listener program on your program start up.. In case of Windows .NET will help you, I have moved my mouse cursor programmatically with the help of a “dll”.. Google it!!.