Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding alternate nano reciever ID to reciever list. #11

Merged
merged 1 commit into from Oct 5, 2015

Conversation

cinchcircuits
Copy link
Contributor

No description provided.

@treeder
Copy link
Owner

treeder commented Oct 2, 2015

Will this be backwards compatible?

@cinchcircuits
Copy link
Contributor Author

It should be.

The implementation is to match multiple USB id's. The old receivers should work just as they did before.

The magic is in the like matching the receiver id's here:

                 info.vendor != USB_VENDOR_ID_LOGITECH || 
                 (info.product != USB_DEVICE_ID_UNIFYING_RECEIVER && 
                  info.product != USB_DEVICE_ID_NANO_RECEIVER && 
  •                 info.product != USB_DEVICE_ID_NANO_RECEIVER_ALT && 
                  info.product != USB_DEVICE_ID_UNIFYING_RECEIVER_2)) { 
    

The old ID's are unchanged and should still be matched as before.

Although I do not have one of those receivers to test with, this two line change shouldn't interfere with anybody using the original receivers.

treeder added a commit that referenced this pull request Oct 5, 2015
Adding alternate nano reciever ID to reciever list.
@treeder treeder merged commit 06f0290 into treeder:master Oct 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants