feat(docs): Add note for USB power in outputs page

This commit is contained in:
Cem Aksoylar 2021-10-22 18:31:08 -07:00 committed by Dom H
parent 3114ce00b9
commit 8c321063a0

View file

@ -12,6 +12,12 @@ keyboard to USB for power but outputting to a different device over bluetooth.
By default, output is sent to USB when both USB and BLE are connected. By default, output is sent to USB when both USB and BLE are connected.
Once you select a different output, it will be remembered until you change it again. Once you select a different output, it will be remembered until you change it again.
:::note Powering the keyboard via USB
ZMK is not always able to detect if the other end of a USB connection accepts keyboard input or not.
So if you are using USB only to power your keyboard (for example with a charger or a portable power bank), you will want
to select the BLE output through below behavior to be able to send keystrokes to the selected bluetooth profile.
:::
## Output Command Defines ## Output Command Defines
Output command defines are provided through the [`dt-bindings/zmk/outputs.h`](https://github.com/zmkfirmware/zmk/blob/main/app/include/dt-bindings/zmk/outputs.h) Output command defines are provided through the [`dt-bindings/zmk/outputs.h`](https://github.com/zmkfirmware/zmk/blob/main/app/include/dt-bindings/zmk/outputs.h)