This repository has been archived by the owner on Dec 14, 2023. It is now read-only.
forked from NicoHood/HID
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds serial debugging output showing when a boot protocol HID report is sent (and when an NKRO protocol report is sent, too), and the contents of that report. It also changes the variable used to decide which type of report to send to the host, without changing the `getDescriptor()` and `setup()` methods, which still do whatever they do with the `protocol` variable, and `UEDATX`. I don't understand why this works, but it seems to allow proper switching between boot protocol and report protocol on macOS & Linux (the two machines I have access to).
- Loading branch information
1 parent
f9e03b1
commit 6c2ed82
Showing
3 changed files
with
23 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters