Skip to content
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

Reworked backlight keycodes. #18961

Merged
merged 7 commits into from
Nov 5, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Ryan <fauxpark@gmail.com>
  • Loading branch information
tzarc and fauxpark committed Nov 5, 2022
commit 23de2fb043af204a5747a85c103923edc0b334b8
4 changes: 2 additions & 2 deletions data/constants/keycodes/keycodes_0.0.1_lighting.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@
},
"0x7803": {
"group": "backlight",
"key": "QK_BACKLIGHT_DECREASE",
"key": "QK_BACKLIGHT_DOWN",
"aliases": [
"BL_DOWN"
]
},
"0x7804": {
"group": "backlight",
"key": "QK_BACKLIGHT_INCREASE",
"key": "QK_BACKLIGHT_UP",
"aliases": [
"BL_UP"
]
Expand Down
4 changes: 2 additions & 2 deletions docs/feature_backlight.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ Once enabled, the following keycodes below can be used to change the backlight l
| `QK_BACKLIGHT_STEP` | `BL_STEP` | Cycle through backlight levels |
| `QK_BACKLIGHT_ON` | `BL_ON` | Set the backlight to max brightness |
| `QK_BACKLIGHT_OFF` | `BL_OFF` | Turn the backlight off |
| `QK_BACKLIGHT_INCREASE` | `BL_UP` | Increase the backlight level |
| `QK_BACKLIGHT_DECREASE` | `BL_DOWN` | Decrease the backlight level |
| `QK_BACKLIGHT_UP` | `BL_UP` | Increase the backlight level |
| `QK_BACKLIGHT_DOWN` | `BL_DOWN` | Decrease the backlight level |
| `QK_BACKLIGHT_TOGGLE_BREATHING` | `BL_BRTG` | Toggle backlight breathing |

## Functions :id=functions
Expand Down
4 changes: 2 additions & 2 deletions docs/feature_led_matrix.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,8 +227,8 @@ All LED matrix keycodes are currently shared with the [Backlight feature](featur
| `QK_BACKLIGHT_STEP` | `BL_STEP` | Cycle through modes |
| `QK_BACKLIGHT_ON` | `BL_ON` | Turn on LED Matrix |
| `QK_BACKLIGHT_OFF` | `BL_OFF` | Turn off LED Matrix |
| `QK_BACKLIGHT_INCREASE` | `BL_UP` | Increase the brightness level |
| `QK_BACKLIGHT_DECREASE` | `BL_DOWN` | Decrease the brightness level |
| `QK_BACKLIGHT_UP` | `BL_UP` | Increase the brightness level |
| `QK_BACKLIGHT_DOWN` | `BL_DOWN` | Decrease the brightness level |

## LED Matrix Effects :id=led-matrix-effects

Expand Down
4 changes: 2 additions & 2 deletions docs/keycodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ See also: [Backlighting](feature_backlight.md)
| `QK_BACKLIGHT_STEP` | `BL_STEP` | Cycle through backlight levels |
| `QK_BACKLIGHT_ON` | `BL_ON` | Set the backlight to max brightness |
| `QK_BACKLIGHT_OFF` | `BL_OFF` | Turn the backlight off |
| `QK_BACKLIGHT_INCREASE` | `BL_UP` | Increase the backlight level |
| `QK_BACKLIGHT_DECREASE` | `BL_DOWN` | Decrease the backlight level |
| `QK_BACKLIGHT_UP` | `BL_UP` | Increase the backlight level |
| `QK_BACKLIGHT_DOWN` | `BL_DOWN` | Decrease the backlight level |
| `QK_BACKLIGHT_TOGGLE_BREATHING` | `BL_BRTG` | Toggle backlight breathing |

## Bluetooth :id=bluetooth
Expand Down