Sign in to follow this  
rlogan

emulating a joystick???

Recommended Posts

How can I make a generic piece of software create an object that shows up as or emulates a joystick to the windows OS. I have a piece of hardware that sends data to an AtoD card. We analyze the data and provide a direction/speed etc. I want this to be mapped to joystick data that any generic software that uses a joystick can use. Any standard way to do this???

Share this post


Link to post
Share on other sites
See the Windows DDK for a sample that creates a system object (driver) emulating a real joystick.

I have written something similar to your project few years ago - but I do regret that the project files are under a NDA between my company and my client's, so I cannot give the code for you.

What you're about to do is actually very easy, if you know your way around driver writing in general. Almost all other device types have way more code involved.

Kind regards,
-Nik

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this