diff options
| author | Drashna Jaelre <drashna@live.com> | 2021-12-14 20:53:36 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-14 20:53:36 -0800 |
| commit | 3fa592a4024a24a636fa0c562e6761667a94f565 (patch) | |
| tree | 4ce826128e29e36dfe606fa2b5a3d25b3bd0afcc /users/drashna/drashna.c | |
| parent | c10bc9f91e737dd3675b2e4492daa09092655af9 (diff) | |
| download | qmk_firmware-3fa592a4024a24a636fa0c562e6761667a94f565.tar.gz qmk_firmware-3fa592a4024a24a636fa0c562e6761667a94f565.zip | |
[Keymap] Unicode and Pointing Device and Autocorect for drashna keymaps (#15415)
Diffstat (limited to 'users/drashna/drashna.c')
| -rw-r--r-- | users/drashna/drashna.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/users/drashna/drashna.c b/users/drashna/drashna.c index 7e07a2c7c..9c1233ed9 100644 --- a/users/drashna/drashna.c +++ b/users/drashna/drashna.c | |||
| @@ -70,7 +70,9 @@ void matrix_init_user(void) { | |||
| 70 | DDRB &= ~(1 << 0); | 70 | DDRB &= ~(1 << 0); |
| 71 | PORTB &= ~(1 << 0); | 71 | PORTB &= ~(1 << 0); |
| 72 | #endif | 72 | #endif |
| 73 | 73 | #ifdef CUSTOM_UNICODE_ENABLE | |
| 74 | matrix_init_unicode(); | ||
| 75 | #endif | ||
| 74 | matrix_init_secret(); | 76 | matrix_init_secret(); |
| 75 | matrix_init_keymap(); | 77 | matrix_init_keymap(); |
| 76 | } | 78 | } |
| @@ -152,6 +154,9 @@ void matrix_scan_user(void) { | |||
| 152 | #if defined(RGB_MATRIX_ENABLE) | 154 | #if defined(RGB_MATRIX_ENABLE) |
| 153 | matrix_scan_rgb_matrix(); | 155 | matrix_scan_rgb_matrix(); |
| 154 | #endif | 156 | #endif |
| 157 | #if defined(POINTING_DEVICE_ENABLE) | ||
| 158 | matrix_scan_pointing(); | ||
| 159 | #endif | ||
| 155 | 160 | ||
| 156 | matrix_scan_secret(); | 161 | matrix_scan_secret(); |
| 157 | 162 | ||
| @@ -171,6 +176,9 @@ layer_state_t layer_state_set_user(layer_state_t state) { | |||
| 171 | } | 176 | } |
| 172 | 177 | ||
| 173 | state = update_tri_layer_state(state, _RAISE, _LOWER, _ADJUST); | 178 | state = update_tri_layer_state(state, _RAISE, _LOWER, _ADJUST); |
| 179 | #if defined(POINTING_DEVICE_ENABLE) | ||
| 180 | state = layer_state_set_pointing(state); | ||
| 181 | #endif | ||
| 174 | #if defined(RGBLIGHT_ENABLE) | 182 | #if defined(RGBLIGHT_ENABLE) |
| 175 | state = layer_state_set_rgb_light(state); | 183 | state = layer_state_set_rgb_light(state); |
| 176 | #endif // RGBLIGHT_ENABLE | 184 | #endif // RGBLIGHT_ENABLE |
