skylark-qmk/tmk_core/protocol/lufa
Wez Furlong 044fa3ff85 Connect the adafruit ble code to the lufa main loop
There are now 3 potential locations to send HID reports:

1. USB
2. The bluefruit easy key
3. Adafruit BLE

Generally speaking, if USB is connected then we should prefer to
send the reports there; it is generally the best channel for this.

The bluefruit module has no feedback about bluetooth connectivity
so the code must speculatively send reports over both USB and bluetooth.

The BLE module has connectivity feedback.  In general we want to
prefer to send HID reports over USB while connected there, even
if BLE is connected.  Except that it is convenient to force them
over BLE while testing the implementation.

This policy has been extracted out into a where_to_send function
which returns a bitmask of which of the channels should be used.
2016-12-02 22:46:23 -08:00
..
LUFA-git Normalize line endings 2016-08-27 18:40:50 +03:00
adafruit_ble.cpp Add support for Adafruit BLE modules 2016-11-27 23:49:44 -08:00
adafruit_ble.h Add support for Adafruit BLE modules 2016-11-27 23:49:44 -08:00
bluetooth.c Warning reductions (#430) 2016-06-21 17:42:29 -04:00
bluetooth.h Warning reductions (#430) 2016-06-21 17:42:29 -04:00
descriptor.c Added USB Virtual Serial support 2016-08-23 04:16:35 +00:00
descriptor.h Change NKRO size fron 16 bytes to 32 bytes. 2016-09-06 14:59:12 -05:00
lufa.c Connect the adafruit ble code to the lufa main loop 2016-12-02 22:46:23 -08:00
lufa.h separated into api files/folder 2016-11-26 15:38:44 -05:00
ringbuffer.hpp Add support for Adafruit BLE modules 2016-11-27 23:49:44 -08:00