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

Feature: Add hid-rp submodule and component with example #159

Merged
merged 6 commits into from
Feb 28, 2024

Conversation

finger563
Copy link
Contributor

@finger563 finger563 commented Feb 28, 2024

Description

  • Add hid-rp library as external library
  • Add hid-rp component with additional generated hid pages and hid-rp-gamepad (espp::GamepadReport) class
  • Add example showing use of espp::GamepadReport to set input report values, get the serialized input report data, and get the report descriptor.
  • Allow range mapper to be default initialized
  • (RangeMapper) Remove assert and instead exit early if bad config is provided
  • (RangeMapper) Ensure default values allow for map/unmap to run without crashing
  • Update and rebuild docs

Motivation and Context

How has this been tested?

Screenshots (if appropriate, e.g. schematic, board, console logs, lab pictures):

CleanShot 2024-02-28 at 16 38 11

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update
  • Hardware (schematic, board, system design) change
  • Software change

Checklist:

  • My change requires a change to the documentation.
  • I have added / updated the documentation related to this change via either README or WIKI

Software

  • I have added tests to cover my changes.
  • I have updated the .github/workflows/build.yml file to add my new test to the automated cloud build github action.
  • All new and existing tests passed.
  • My code follows the code style of this project.

* Add hid-rp library as external library
* Add hid-rp component with additional generated hid pages and hid-rp-gamepad (espp::GamepadReport) class
* Add example showing use of espp::GamepadReport to set input report values, get the serialized input report data, and get the report descriptor.
* Allow range mapper to be default initialized
* Remove assert and instead exit early if bad config is provided
* Ensure default values allow for map/unmap to run without crashing
@finger563 finger563 self-assigned this Feb 28, 2024
Copy link

github-actions bot commented Feb 28, 2024

✅Static analysis result - no issues found! ✅

@finger563 finger563 changed the title Feature/hid rp Feature: Add hid-rp submodule and component with example Feb 28, 2024
@finger563 finger563 merged commit ca6182f into main Feb 28, 2024
52 checks passed
@finger563 finger563 deleted the feature/hid-rp branch February 28, 2024 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant