Closed aforren1 closed 7 years ago
Addressed in f345d9e, where we filter based on product id (which should narrow us down to the proper device) and usage (which lets us exclude the joystick/other interface). This sort of filtering will be useful when we have multiple HANDs plugged in.
I think if the HAND was compiled with the joystick option, and thus has that interface available. Unfortunately, that is the first interface available, and
hidapi
doesn't make it easy to query for additional interfaces (note in the recent commit on thecontext
branch, I've subbed in the path to the device we want). I think this particular interface won't be robust across host machines (or certainly operating systems).