You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add-on hardware support (eg. audio, RGB, OLED screen, etc.)
Alteration (enhancement/optimization) of existing feature(s)
New behavior
Description
Currently, BLUETOOTH_DRIVER can be set to either BluefruitLE, RN42, orcustom. For custom I suppose it, similar to other drivers, would allow developers to implement their own communication with other Bluetooth accessory boards in their keyboards/keymaps.
So I suggest we define the Bluetooth-related functions in drivers/bluetooth/bluetooth.c as weak symbols, which allows developers to override these functions for their keyboards/keymaps.
Alternatively, we can exclude drivers/bluetooth/bluetooth.c in compiling whenBLUETOOTH_DRIVER is 'custom'. In this way, developers would have to provide their own implementations for all the Bluetooth functions.
This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed in the next 30 days unless it is tagged properly or other activity occurs.
For maintainers: Please label with bug, in progress, on hold, discussion or to do to prevent the issue from being re-flagged.
Feature Request Type
Description
Currently,
BLUETOOTH_DRIVER
can be set to eitherBluefruitLE
,RN42
, orcustom
. Forcustom
I suppose it, similar to other drivers, would allow developers to implement their own communication with other Bluetooth accessory boards in their keyboards/keymaps.qmk_firmware/builddefs/common_features.mk
Lines 886 to 909 in bacec14
However, the current implementation only considers the embedded drivers.
qmk_firmware/drivers/bluetooth/bluetooth.c
Lines 40 to 47 in 5ace174
So I suggest we define the Bluetooth-related functions in
drivers/bluetooth/bluetooth.c
as weak symbols, which allows developers to override these functions for their keyboards/keymaps.Alternatively, we can exclude
drivers/bluetooth/bluetooth.c
in compiling whenBLUETOOTH_DRIVER
is 'custom'. In this way, developers would have to provide their own implementations for all the Bluetooth functions.Other changes that we might need to make:
The text was updated successfully, but these errors were encountered: