summaryrefslogtreecommitdiffstats
path: root/build_keyboard.mk
diff options
context:
space:
mode:
authorWez Furlong <wez@fb.com>2016-11-28 07:51:30 +0100
committerWez Furlong <wez@fb.com>2016-12-03 07:46:23 +0100
commit044fa3ff856393d75a80fe6625b4a5682b81b76d (patch)
treecb631f61e517ba8219ca6ef8c85bd69c04e8c01b /build_keyboard.mk
parent7f88c9506c1fbfb7de1ee51e0611eb8c46bee7f7 (diff)
downloadqmk_firmware-044fa3ff856393d75a80fe6625b4a5682b81b76d.tar.gz
qmk_firmware-044fa3ff856393d75a80fe6625b4a5682b81b76d.tar.xz
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 'build_keyboard.mk')
0 files changed, 0 insertions, 0 deletions