044fa3ff85
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. |
||
---|---|---|
.. | ||
LUFA-git | ||
adafruit_ble.cpp | ||
adafruit_ble.h | ||
bluetooth.c | ||
bluetooth.h | ||
descriptor.c | ||
descriptor.h | ||
lufa.c | ||
lufa.h | ||
ringbuffer.hpp |