You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
7 years ago
..
arm_atsam Use a single endpoint for HID reports (#3951) 7 years ago
bluefruit
chibios Use a single endpoint for HID reports (#3951) 7 years ago
iwrap Fix pointing device feature 8 years ago
lufa Use a single endpoint for HID reports (#3951) 7 years ago
mbed
midi Merge ChibiOS and LUFA descriptor support (#2362) 8 years ago
pjrc
usb_hid Fixed dead links (#2451) 8 years ago
vusb Add support for Atmega32A to pin declarations and universal matrix (#4015) 7 years ago
adb.c
adb.h
arm_atsam.mk Massdrop keyboard updates for SEND_STRING, syscalls, stdio, debug prints, Auto Shift (#3973) 7 years ago
bluefruit.mk
chibios.mk Add a custom USB driver for ARM (#2750) 8 years ago
ibm4704.c
ibm4704.h
iwrap.mk
lufa.mk Merge ChibiOS and LUFA descriptor support (#2362) 8 years ago
m0110.c
m0110.h
midi.mk Merge ChibiOS and LUFA descriptor support (#2362) 8 years ago
news.c
news.h
next_kbd.c
next_kbd.h
pjrc.mk Fix pointing device feature 8 years ago
ps2.h
ps2_busywait.c
ps2_interrupt.c
ps2_io.h
ps2_io_avr.c
ps2_io_mbed.c
ps2_mouse.c Add option to reverse PS2 mouse axes and scrolling 8 years ago
ps2_mouse.h Supress warnings from ps2_mouse.h 9 years ago
ps2_usart.c
serial.h
serial_mouse.h
serial_mouse_microsoft.c
serial_mouse_mousesystems.c
serial_soft.c
serial_uart.c
usb_descriptor.c Use a single endpoint for HID reports (#3951) 7 years ago
usb_descriptor.h Use a single endpoint for HID reports (#3951) 7 years ago
usb_hid.mk cleanup usb-usb converter code 8 years ago
vusb.mk
xt.h Keyboard: Port of TMK XT USB Converter (#3619) 7 years ago
xt_interrupt.c Keyboard: Port of TMK XT USB Converter (#3619) 7 years ago