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

Use a single endpoint for HID reports #3951

Merged
merged 12 commits into from
Nov 16, 2018
Merged

Commits on Sep 23, 2018

  1. Unify multiple HID interfaces into one

    This reduces the number of USB endpoints required, which frees them up
    for other things.
    
    NKRO and EXTRAKEY always use the shared endpoint.
    
    By default, MOUSEKEY also uses it. This means it won't work as a Boot
    Procotol mouse in some BIOSes, etc. If you really think your
    keyboard needs to work as a mouse in your BIOS, set
    MOUSE_SHARED_EP = no in your rules.mk.
    
    By default, the core keyboard does not use the shared endpoint, as not
    all BIOSes are standards compliant and that's one place you don't want
    to find out your keyboard doesn't work.. If you are really confident,
    you can set KEYBOARD_SHARED_EP = yes to use the shared endpoint here
    too.
    abrasive committed Sep 23, 2018
    Configuration menu
    Copy the full SHA
    2be9f9f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e9616f2 View commit details
    Browse the repository at this point in the history
  3. fixup: missing #ifdef EXTRAKEY_ENABLEs

    broke build on AVR with EXTRAKEY disabled
    abrasive committed Sep 23, 2018
    Configuration menu
    Copy the full SHA
    2716d88 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    50238f7 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2018

  1. lufa: wait up to 10ms to send keyboard input

    This avoids packets being dropped when two reports are sent in quick
    succession (eg. releasing a dual role key).
    abrasive committed Sep 25, 2018
    Configuration menu
    Copy the full SHA
    c316be3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d04ae33 View commit details
    Browse the repository at this point in the history
  3. endpoint: ARM_ATSAM fixes

    No longer use wrong or unexpected endpoint IDs
    abrasive committed Sep 25, 2018
    Configuration menu
    Copy the full SHA
    57c951c View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2018

  1. endpoints: accommodate VUSB protocol

    V-USB has its own, understandably simple ideas about the report formats.
    It already blasts the mouse and extrakeys through one endpoint with
    report IDs. We just stay out of its way.
    abrasive committed Sep 26, 2018
    Configuration menu
    Copy the full SHA
    f4ad3d0 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2018

  1. Configuration menu
    Copy the full SHA
    c95bc04 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2018

  1. endpoints: respect keyboard_report->mods in NKRO

    The caller(s) of host_keyboard_send expect to be able to just drop
    modifiers in the mods field and not worry about whether NKRO is in use.
    This is a good thing. So we just shift it over if needs be.
    abrasive committed Oct 13, 2018
    Configuration menu
    Copy the full SHA
    ac01357 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    98536ef View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2018

  1. Configuration menu
    Copy the full SHA
    f6c7714 View commit details
    Browse the repository at this point in the history