Remove force disable of NKRO when Bluetooth enabled (#25201)

This commit is contained in:
Joel Challis 2025-05-06 06:47:44 +01:00 committed by GitHub
parent ac991405d0
commit ab1332bb6c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 33 additions and 12 deletions

View file

@ -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;
}

View file

@ -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.
*/