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

Various tidyups for USB descriptor code #9005

Merged
merged 1 commit into from
Jun 7, 2020

Conversation

fauxpark
Copy link
Member

@fauxpark fauxpark commented May 3, 2020

Description

  • Renamed keyboard_led_stats in lufa.c and ChibiOS usb_main.c to keyboard_led_state, as well as vusb_keyboard_leds, for consistency
  • Formatted CDC and MIDI descriptors better
  • Removed ENDPOINT_CONFIG macro, it seems pointless and removes the need for endpoint address defines in the middle of the endpoint numbering enum
  • Fixed (possibly?) V-USB GET_REPORT request handling. Not sure about this one, but the existing code appears to always return an empty report - now send_keyboard sets this variable to the current report, matching what the LUFA code does.

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Keyboard (addition or update)
  • Keymap/layout/userspace (addition or update)
  • Documentation

Issues Fixed or Closed by This PR

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

@fauxpark fauxpark requested a review from a team May 3, 2020 01:37
@drashna drashna requested a review from a team May 19, 2020 10:17
@tzarc tzarc requested a review from a team May 19, 2020 10:21
@fauxpark fauxpark force-pushed the misc-usb-descriptor-cleanups branch from ca61f07 to e5cb1e3 Compare June 1, 2020 07:23
@fauxpark fauxpark force-pushed the misc-usb-descriptor-cleanups branch from e5cb1e3 to 2355b64 Compare June 5, 2020 10:54
@fauxpark fauxpark changed the base branch from master to develop June 5, 2020 10:54
@fauxpark fauxpark merged commit 490b9f6 into qmk:develop Jun 7, 2020
@fauxpark fauxpark deleted the misc-usb-descriptor-cleanups branch June 7, 2020 05:00
nicocesar pushed a commit to nicocesar/qmk_firmware that referenced this pull request Sep 6, 2020
drashna pushed a commit to zsa/qmk_firmware that referenced this pull request Sep 30, 2020
kjganz pushed a commit to kjganz/qmk_firmware that referenced this pull request Oct 28, 2020
BorisTestov pushed a commit to BorisTestov/qmk_firmware that referenced this pull request May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants