mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-16 04:41:28 +00:00
Update documentation for keys that are actually handled.
This commit is contained in:
parent
89ac5cb0ff
commit
2577f05cb3
@ -39,8 +39,8 @@ BLUETOOTH_DRIVER = bluefruit_le # or rn42
|
|||||||
|
|
||||||
This is used when multiple keyboard outputs can be selected. Currently this only allows for switching between USB and Bluetooth on keyboards that support both.
|
This is used when multiple keyboard outputs can be selected. Currently this only allows for switching between USB and Bluetooth on keyboards that support both.
|
||||||
|
|
||||||
|Key |Aliases |Description |
|
| Key | Aliases | Description |
|
||||||
|---------------------|---------|----------------------------------------------|
|
|-----------------------|----------------------|------------------------------------------------|
|
||||||
|`QK_OUTPUT_AUTO` |`OU_AUTO`|Automatically switch between USB and Bluetooth|
|
| `QK_OUTPUT_NEXT` | `OU_NEXT`, `OU_AUTO` | Automatically switch between USB and Bluetooth |
|
||||||
|`QK_OUTPUT_USB` |`OU_USB` |USB only |
|
| `QK_OUTPUT_USB` | `OU_USB` | USB only |
|
||||||
|`QK_OUTPUT_BLUETOOTH`|`OU_BT` |Bluetooth only |
|
| `QK_OUTPUT_BLUETOOTH` | `OU_BT` | Bluetooth only |
|
||||||
|
@ -294,11 +294,11 @@ See also: [Backlighting](features/backlight)
|
|||||||
|
|
||||||
See also: [Bluetooth](features/bluetooth)
|
See also: [Bluetooth](features/bluetooth)
|
||||||
|
|
||||||
|Key |Aliases |Description |
|
| Key | Aliases | Description |
|
||||||
|---------------------|---------|----------------------------------------------|
|
|-----------------------|----------------------|------------------------------------------------|
|
||||||
|`QK_OUTPUT_AUTO` |`OU_AUTO`|Automatically switch between USB and Bluetooth|
|
| `QK_OUTPUT_NEXT` | `OU_NEXT`, `OU_AUTO` | Automatically switch between USB and Bluetooth |
|
||||||
|`QK_OUTPUT_USB` |`OU_USB` |USB only |
|
| `QK_OUTPUT_USB` | `OU_USB` | USB only |
|
||||||
|`QK_OUTPUT_BLUETOOTH`|`OU_BT` |Bluetooth only |
|
| `QK_OUTPUT_BLUETOOTH` | `OU_BT` | Bluetooth only |
|
||||||
|
|
||||||
## Caps Word {#caps-word}
|
## Caps Word {#caps-word}
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ bool process_connection(uint16_t keycode, keyrecord_t *record) {
|
|||||||
if (record->event.pressed) {
|
if (record->event.pressed) {
|
||||||
switch (keycode) {
|
switch (keycode) {
|
||||||
case QK_OUTPUT_NEXT:
|
case QK_OUTPUT_NEXT:
|
||||||
set_output(OUTPUT_AUTO);
|
set_output(OUTPUT_AUTO); // This should cycle through the outputs going forward. Ensure `docs/features/bluetooth.md` is updated when it does.
|
||||||
return false;
|
return false;
|
||||||
case QK_OUTPUT_USB:
|
case QK_OUTPUT_USB:
|
||||||
set_output(OUTPUT_USB);
|
set_output(OUTPUT_USB);
|
||||||
@ -28,6 +28,7 @@ bool process_connection(uint16_t keycode, keyrecord_t *record) {
|
|||||||
case QK_BLUETOOTH_PROFILE4:
|
case QK_BLUETOOTH_PROFILE4:
|
||||||
case QK_BLUETOOTH_PROFILE5:
|
case QK_BLUETOOTH_PROFILE5:
|
||||||
// As-yet unimplemented.
|
// As-yet unimplemented.
|
||||||
|
// When implementation is done, ensure `docs/features/bluetooth.md` is updated accordingly.
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user