c++ and joystick

closed account (28poGNh0)
Hello everyone.

I want to know if there is a way to manipulate joystick with c++ without using any library, I mean can I write my own library ?

Thanks a lot.
How about take a look at other libraries to get the idea and write your own one?
If you use Windows have a look here. It lists all the functions that are available.

https://msdn.microsoft.com/en-us/library/windows/desktop/dd757121%28v=vs.85%29.aspx
closed account (28poGNh0)
@Thomas1965, thanks for the reply.

I know a few libraries does the same as you suggested. But I need to write my own. and I think it needs some of a low-level programming and that's what I am looking for.

@KMagic, thanks for the reply.
I am not looking for that.

I will consider my job half done if I plug the joystick and my programme detects any key pressed.

Hope for more info.
Topic archived. No new replies allowed.