Detect and use tracker PID during HID enumeration
#1548
Using tracker's HID directly should be an optional feature. Normally, the job of the server is to pair tracker to the dongle when it's connected, and nothing else. If it will also process data, it will confuse the user since the tracker will be automatically connected, but might not be paired to the dongle...
It needs to be behind a developer option.
I think the toggle will likely need to be on the tracker itself (and disabled by default) since having this feature enabled will prevent it from entering pairing automatically. I think it is okay to always detect on the server, as there is currently no way for the server to tell the tracker it is receiving data through the USB connection.
I think a global setting is better, you can make server accept or not accept connections from this device id if it's enable or disabled. Either way, it should be implemented before it's merged, in whichever way you prefer. Otherwise it breaks intended workflow.
Okay, I will still probably need to give trackers a toggle in the meantime