-
-
Notifications
You must be signed in to change notification settings - Fork 40k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add description in Bluetooth docs for requiring NKRO to be disabled #10359
Add description in Bluetooth docs for requiring NKRO to be disabled #10359
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 674 in lufa.c should perhaps also be changed to:
if ((where == OUTPUT_BLUETOOTH || where == OUTPUT_USB_AND_BT) && !keymap_config.nkro) {
just to be sure.
Honestly, I think that maybe we should add a message if both bluetooth and NKRO are enabled, so it's obvious at build time. Not a hard error, but something so users can see it. |
A warning like that probably would have saved me more time than if it were only in the documentation, I like that. I can try to tackle that, but I don't feel confident in being able to make the change correctly and test it. in lufa.c: if ((where == OUTPUT_BLUETOOTH || where == OUTPUT_USB_AND_BT) && keymap_config.nkro) {
print("Both Bluetooth output and NKRO are enabled. This will cause errors in Bluetooth output.\n");
}
if ((where == OUTPUT_BLUETOOTH || where == OUTPUT_USB_AND_BT) && !keymap_config.nkro) {
# ifdef MODULE_ADAFRUIT_BLE Or is there somewhere earlier on in the build process where the rules are checked and the warning could be surfaced there? |
That ifeq ($(strip $(NKRO_ENABLE)), yes)
ifeq ($(PROTOCOL), VUSB)
$(info NKRO is not currently supported on V-USB, and has been disabled.)
else ifeq ($(strip $(BLUETOOTH_ENABLE), yes))
$(info NKRO is not currently supported with Bluetooth, and has been disabled.)
else ifneq ($(BLUETOOTH),)
$(info NKRO is not currently supported with Bluetooth, and has been disabled.)
else
TMK_COMMON_DEFS += -DNKRO_ENABLE
SHARED_EP_ENABLE = yes
endif
endif |
Updating checklist with changes from af17d3d Types of Changes
Issues Fixed or Closed by This PRNone Checklist
|
Just looking around for appearances of |
On further inspection my above comment is incorrect, as when |
Excellent, thanks @fauxpark! |
I think NKRO should not be disabled on Build. I mean, I’m using my keyboard wired and on Bluetooth. When I connect it to Bluetooth I boot with bootmagic to disable nkro, and then when I go wired I enable it. |
@fauxpark , do you think there would be a way to have NKRO enabled for wired mode while disabling it in Bluetooth mode? |
Expand documentation in Bluetooth rules.mk options for requiring
Description
As seen in #10314, the Bluetooth documentation is missing some information about support for NKRO, and how enabling it can be problematic.
This change expands slightly on the Bluetooth feature documentation, and while not nearly comprehensive or sufficient for covering managing Bluetooth in qmk, could likely save some time and troubleshooting.
Types of Changes
Issues Fixed or Closed by This PR
None
Checklist