View Single Post
Old 15th May 2017, 03:32 PM
Maniac Maniac is offline
Junior Member
Join Date: Mar 2017
Posts: 19

I submitted a pull request for this:

I also made an additional minor change. Many of the enumerated devices were of the type DI8DEVTYPE_DEVICE. These aren't anything important for gaming, so now the enumerate skips them rather than processing them. This saves a couple more seconds on my device.

@Squall, you'll probably want to move this change to the nrage repo. Also, when I tried putting DI8DEVCLASS_GAMECTRL in the switch statement, I never hit that case, so IsXInputDevice was not called. Did you hit it in yours? My Xbox 360 controller was returning DI8DEVTYPE_GAMEPAD.
Reply With Quote