Click here to Skip to main content
15,663,639 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello!

Just an example what I want to do. I want to read/get the input from my Gamecontroller (PS4 or XBOX360 Controller - Does not matter) and then send another Button-Press directly after that one.

Example Scenario:

I press Cicle/B on my Controller -> wait ~100ms then Press Cross/A

My Google-Searches was extremely disappointing sadly.

Do you know anything similar to my problem?

Kind Regards

What I have tried:

I am completely new to Gamecontrollers. My Code is working perfectly with Keyboard Inputs and surely sending another after I've read the desired input.
Posted
Updated 21-Feb-19 20:07pm

1 solution

Have a look at this article : 50 OpenGL Win32 Projects in One[^]

It has code that reads a joystick's inputs and it might give you some ideas.
 
Share this answer
 

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