27 posts
Edited by Troncoso on
The only gamepad I have is a Dualshock 3, so I grabbed the XInput wrapper for it, installed it, and tried it out and it all worked great. The screen moved around like it should and the tone changed.

Well, that was working as of the part where we separated user input. (Day 13). I'm working on Day 17 now and the controller is not responding. I keep getting a "device not connected" error (1167) at:

 1 XInputGetState(controllerIndex, &controllerState) == ERROR_SUCCESS 

I know my controller is detected by Windows, as it shows in the SCP Monitor and it works with other games. Did we write anything between day 14 and 17 that may have broken controller input? Has anyone else had much luck using Playstation controllers with Handmade Hero?

And I'm not asking if Casey's code was broken, but more that if any of the work we did could have broken gamepad input if coded wrong. (My keyboard input works fine.)
Andrew Bromage
183 posts / 1 project
Research engineer, resident maths nerd (Erdős number 3).