summaryrefslogtreecommitdiff
path: root/testlist.mk
diff options
context:
space:
mode:
authorWez Furlong <wez@fb.com>2016-11-27 22:51:30 -0800
committerWez Furlong <wez@fb.com>2016-12-02 22:46:23 -0800
commit044fa3ff856393d75a80fe6625b4a5682b81b76d (patch)
treecb631f61e517ba8219ca6ef8c85bd69c04e8c01b /testlist.mk
parent7f88c9506c1fbfb7de1ee51e0611eb8c46bee7f7 (diff)
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.
Diffstat (limited to 'testlist.mk')
0 files changed, 0 insertions, 0 deletions