summaryrefslogtreecommitdiff
path: root/app/src/endpoints.c
AgeCommit message (Collapse)Author
2020-10-28feat(endpoints): clear HID report on endpoint changeJoel Spadin
This prevents stuck keys when switching endpoints by clearing everything in the HID report and sending one last report before switching to the new endpoint.
2020-10-28feat: only send HID reports to one endpointJoel Spadin
Added some utility functions and an event for tracking the state of the USB connection. Updated endpoints.c to select a single endpoint to send HID reports to based on the status of the USB and BLE connections. Partially fixes #206. Future commits will add a user setting to control which endpoint is used if both USB and BLE are ready.
2020-10-04refactor(usb): Report USB status w/o HID output.Pete Johanson
2020-09-14chore: clang-format the codebase.Pete Johanson
* Use the LLVM style * Override indent width (8) and column limit (100) * Fixes #142.
2020-09-10fix: Switch to single AUTHORS file.* Closes #164Pete Johanson
2020-07-25Remove extra '#'.Pete Johanson
2020-07-07Use SYS_INIT for BLE and USB init.Pete Johanson
2020-06-22Fix consumer keys w/ refactored behaviors.Pete Johanson
2020-06-20Lots more pieces toward HID working again.Pete Johanson
2020-06-08Move Zephyr app into subdirectory.Pete Johanson