Remove force disable of NKRO when Bluetooth enabled (#25201)
This commit is contained in:
parent
ac991405d0
commit
ab1332bb6c
6 changed files with 33 additions and 12 deletions
|
@ -11,6 +11,10 @@ __attribute__((weak)) bool bluetooth_is_connected(void) {
|
|||
return true;
|
||||
}
|
||||
|
||||
__attribute__((weak)) bool bluetooth_can_send_nkro(void) {
|
||||
return false;
|
||||
}
|
||||
|
||||
__attribute__((weak)) uint8_t bluetooth_keyboard_leds(void) {
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -37,6 +37,11 @@ void bluetooth_task(void);
|
|||
*/
|
||||
bool bluetooth_is_connected(void);
|
||||
|
||||
/**
|
||||
* \brief Detects if `bluetooth_send_nkro` should be used over `bluetooth_send_keyboard`.
|
||||
*/
|
||||
bool bluetooth_can_send_nkro(void);
|
||||
|
||||
/**
|
||||
* \brief Get current LED state.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue