![device manager identify retrolink n64 controller device manager identify retrolink n64 controller](https://i.ytimg.com/vi/n8F3Z6Bx8-g/maxresdefault.jpg)
Elements 0 - 11 all show as Buttons.which is curious because I'm only counting 10 buttons, the dpad & stick lol. I took a snip of the top and bottom of the HID descriptor.
#Device manager identify retrolink n64 controller Pc#
The case I'm thinking of though, is a PC game where the controller used doesn't really matter, if we have a way to just "assume" it's a gamepad (thinking unrecognized devices here), then give the players a way to customize their controls, then we can handle those inputs in a similarly structured way, and the players can use whatever garbage they have with a USB plug and have their LAN party hehe. Some joker has his wheel/pedals/flight chair plugged in, and he/she just wants to sit down for some Wing Commander, etc.Īnother thing that comes to mind from my example.maybe easily change the classification of a "joystick" to a "gamepad," but I'm guessing that's in the API with layouts and such, which I haven't dug into much yet. Pshaw, I just grabbed a different gamepad, my game is not planning to mix those breeds! However, I thought it might be a useful ability.to iterate without discriminating the type of device, then use desired logic.for cases like this, where you'd want to "weed out" a type of controller that the player might have plugged in, but you don't want to include in the controller lineup for your game. I have this amusing Retrolink N64 USB controller that I plugged in, just to have a 2nd controller and test multi-controller functionality.and minor snag was it was picked up as a joystick instead of a gamepad. InputDevice.all instead of just Gamepad.all? It occurred to me when testing a few. Is there any way (or planned way) to iterate all the input devices that are connected? i.e. Īnyhoo, this isn't anything critical to me at the moment, but I thought it might be worth a mention. First, a thanks to Rene-Damm for the dogged attention to this forum.