jlj-qmk/tmk_core/protocol/arm_atsam/usb
James Laird-Wah 39bd760faf Use a single endpoint for HID reports (#3951)
* 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.

* unify endpoints: ChibiOS protocol implementation

* fixup: missing #ifdef EXTRAKEY_ENABLEs

broke build on AVR with EXTRAKEY disabled

* endpoints: restore error when too many endpoints required

* 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).

* endpoints: fix compile on ARM_ATSAM

* endpoint: ARM_ATSAM fixes

No longer use wrong or unexpected endpoint IDs

* 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.

* endpoints: document new endpoint configuration options

* 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.

* endpoints: report.c: update for new keyboard_report format
2018-11-15 22:22:05 -08:00
..
compiler.h Massdrop keyboard support (#3780) 2018-08-29 15:07:52 -04:00
conf_usb.h Massdrop keyboards console device support for hid_listen 2018-10-10 13:49:01 -04:00
main_usb.c Massdrop keyboards console device support for hid_listen 2018-10-10 13:49:01 -04:00
status_codes.h Massdrop keyboard support (#3780) 2018-08-29 15:07:52 -04:00
udc_desc.h Massdrop keyboard support (#3780) 2018-08-29 15:07:52 -04:00
udc.c Massdrop keyboard support (#3780) 2018-08-29 15:07:52 -04:00
udc.h Fix CTRL/ALT keyboard does not wake computer from sleep 2018-11-02 14:33:07 -07:00
udd.h Massdrop keyboard support (#3780) 2018-08-29 15:07:52 -04:00
udi_cdc_conf.h Massdrop keyboard support (#3780) 2018-08-29 15:07:52 -04:00
udi_cdc.c Massdrop keyboards console device support for hid_listen 2018-10-10 13:49:01 -04:00
udi_cdc.h Massdrop keyboards console device support for hid_listen 2018-10-10 13:49:01 -04:00
udi_device_conf.h Massdrop keyboards console device support for hid_listen 2018-10-10 13:49:01 -04:00
udi_device_epsize.h Massdrop keyboard support (#3780) 2018-08-29 15:07:52 -04:00
udi_hid_kbd_conf.h Massdrop keyboard support (#3780) 2018-08-29 15:07:52 -04:00
udi_hid_kbd_desc.c Massdrop keyboards console device support for hid_listen 2018-10-10 13:49:01 -04:00
udi_hid_kbd.c Use a single endpoint for HID reports (#3951) 2018-11-15 22:22:05 -08:00
udi_hid_kbd.h Massdrop keyboards console device support for hid_listen 2018-10-10 13:49:01 -04:00
udi_hid.c Massdrop keyboard support (#3780) 2018-08-29 15:07:52 -04:00
udi_hid.h Massdrop keyboard support (#3780) 2018-08-29 15:07:52 -04:00
udi.h Massdrop keyboard support (#3780) 2018-08-29 15:07:52 -04:00
ui.c USB Suspend for arm_atsam protocol 2018-11-02 14:33:07 -07:00
ui.h USB Suspend for arm_atsam protocol 2018-11-02 14:33:07 -07:00
usb2422.c Massdrop keyboard support (#3780) 2018-08-29 15:07:52 -04:00
usb2422.h Keyboard: Rename alt67 to alt (#3824) 2018-09-01 09:21:48 -07:00
usb_atmel.h Massdrop keyboard support (#3780) 2018-08-29 15:07:52 -04:00
usb_device_udd.c Massdrop keyboard support (#3780) 2018-08-29 15:07:52 -04:00
usb_main.h Massdrop keyboards console device support for hid_listen 2018-10-10 13:49:01 -04:00
usb_protocol_cdc.h Massdrop keyboard support (#3780) 2018-08-29 15:07:52 -04:00
usb_protocol_hid.h Massdrop keyboard support (#3780) 2018-08-29 15:07:52 -04:00
usb_protocol.h Massdrop keyboard support (#3780) 2018-08-29 15:07:52 -04:00
usb_util.c Massdrop keyboard support (#3780) 2018-08-29 15:07:52 -04:00
usb_util.h Massdrop keyboard support (#3780) 2018-08-29 15:07:52 -04:00
usb.c Massdrop keyboard support (#3780) 2018-08-29 15:07:52 -04:00
usb.h Massdrop keyboard support (#3780) 2018-08-29 15:07:52 -04:00