I was trying to streamline how I enumerate connected gamepad and remote controls on nVidia devices.
First I get all device id’s:
int ids = InputDevice.getDeviceIds();
Then iterate that array and for each ID that reports itself to be in the joystick class, I keep. I noticed that all nVidia products in the joystick class have a vendor ID of 2389 then each device has it’s own unique product ID.
Shield TV Gamepad: 29204
Shield TV Remote: 29203
Shield Portable: 29187
Is this a valid and sure fire way to explicitly identify these products or will any of these values change or get re-assigned?! I swear someone over at nVidia told me otherwise but I wanted to be sure.