Skip to content
This repository has been archived by the owner on Dec 14, 2023. It is now read-only.

Demo of boot protocol working #50

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on May 21, 2022

  1. Fix switching between boot protocol and report protocol

    This 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).
    gedankenexperimenter committed May 21, 2022
    Configuration menu
    Copy the full SHA
    9997b29 View commit details
    Browse the repository at this point in the history
  2. Add debugging output for keyboard reports

    This writes to the serial port, demonstrating when the keyboard is actually
    sending reports using either NKRO or Boot protocol.
    gedankenexperimenter committed May 21, 2022
    Configuration menu
    Copy the full SHA
    3606015 View commit details
    Browse the repository at this point in the history
  3. Comment the relevant line where it seems things should fail

    I don't understand why what I've done works. This comment is meant to simply highlight the
    line in the code that seems to be the cause of boot protocol failing without the earlier
    changes I made (i.e. `boot_protocol_`).
    gedankenexperimenter committed May 21, 2022
    Configuration menu
    Copy the full SHA
    b8001cd View commit details
    Browse the repository at this point in the history