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

Preventing collissions #253

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

vladimir-aubrecht
Copy link

Hi, I hit several times collision with other libraries in 2 aspects:

  • KeyCodes which were already defined (typically from USB HID libraries).
  • KeyReport was already defined (same reason).

To fix it, I moved KeyCodes into separate file as they are not needed in main file and use can control what they want to use this way. And for KeyReport I renamed it (gave it prefix).

This allows to use library with other USB HID libraries. I can make adjustments to my changes if you have better idea how to approach it :)

…ult (user can use it if they need it).

- Rename of original reports as they often conflict with other libraries.
@vladimir-aubrecht
Copy link
Author

@T-vK do you think it would be possible to merge this PR? 😊

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.

1 participant