Compare commits

..

4 Commits

Author SHA1 Message Date
lukeski14
f5a31fdda6
updating productId for via compat (#19611) 2023-01-18 01:38:53 +00:00
Albert Y
204ba02765
Use consistent highlight format (#19619) 2023-01-18 01:22:34 +00:00
Albert Y
eb7a8d994a
Reduce RGB maximum brightness (#19618) 2023-01-18 01:22:19 +00:00
Albert Y
737e6bf027
Highlight inclusion of extern macro (#19614) 2023-01-18 00:26:16 +00:00
4 changed files with 11 additions and 5 deletions

View File

@ -41,14 +41,20 @@ As you can see, you have a few functions. You can use `SEQ_ONE_KEY` for single-k
Each of these accepts one or more keycodes as arguments. This is an important point: You can use keycodes from **any layer on your keyboard**. That layer would need to be active for the leader macro to fire, obviously.
## Adding Leader Key Support in the `rules.mk`
## Adding Leader Key Support
To add support for Leader Key you simply need to add a single line to your keymap's `rules.mk`:
To enable Leader Key, add the following line to your keymap's `rules.mk`:
```make
LEADER_ENABLE = yes
```
Place the following macro in your `keymap.c` or user space source file, before any functional code. It handles declaration of external variables that will be referenced by Leader Key codes that follows:
```c
LEADER_EXTERNS();
```
## Per Key Timing on Leader keys
Rather than relying on an incredibly high timeout for long leader key strings or those of us without 200wpm typing skills, we can enable per key timing to ensure that each key pressed provides us with more time to finish our stroke. This is incredibly helpful with leader key emulation of tap dance (read: multiple taps of the same key like C, C, C).

View File

@ -1007,7 +1007,7 @@ bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
}
```
!> RGB indicators on split keyboards will require state information synced to the slave half (e.g. `#define SPLIT_LAYER_STATE_ENABLE`). See [data sync options](feature_split_keyboard.md#data-sync-options) for more details.
?> RGB indicators on split keyboards will require state information synced to the slave half (e.g. `#define SPLIT_LAYER_STATE_ENABLE`). See [data sync options](feature_split_keyboard.md#data-sync-options) for more details.
#### Indicators without RGB Matrix Effect

View File

@ -42,7 +42,7 @@
/* RGB Matrix config */
#define RGB_DI_PIN E2
#define RGB_MATRIX_LED_COUNT 100
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150
#define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
#define RGB_MATRIX_KEYPRESSES

View File

@ -5,7 +5,7 @@
"maintainer": "NoPunIn10Did",
"usb": {
"vid": "0x4E50",
"pid": "0x4A57",
"pid": "0x4A58",
"device_version": "0.2.0"
},
"layouts": {