diff options
| author | jonavin <71780717+Jonavin@users.noreply.github.com> | 2021-09-29 12:42:53 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-29 09:42:53 -0700 |
| commit | c89f74b929721d01bf8177aa10c3cd721247a857 (patch) | |
| tree | 9d74eaa575c4954c2db2b9128ebfd9a1b1bc4523 /users/jonavin/jonavin.h | |
| parent | 0338481090f4c2330a7fd237416cf66ba2bd4d22 (diff) | |
| download | qmk_firmware-c89f74b929721d01bf8177aa10c3cd721247a857.tar.gz qmk_firmware-c89f74b929721d01bf8177aa10c3cd721247a857.zip | |
[Keymap] Jonavin murphpad keymap update (#14637)
Co-authored-by: Jonavin <=>
Diffstat (limited to 'users/jonavin/jonavin.h')
| -rw-r--r-- | users/jonavin/jonavin.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/users/jonavin/jonavin.h b/users/jonavin/jonavin.h index 316483940..efe0301af 100644 --- a/users/jonavin/jonavin.h +++ b/users/jonavin/jonavin.h | |||
| @@ -36,7 +36,9 @@ enum custom_user_keycodes { | |||
| 36 | KC_WINLCK, //Toggles Win key on and off | 36 | KC_WINLCK, //Toggles Win key on and off |
| 37 | RGB_TOI, // Timeout idle time up | 37 | RGB_TOI, // Timeout idle time up |
| 38 | RGB_TOD, // Timeout idle time down | 38 | RGB_TOD, // Timeout idle time down |
| 39 | RGB_NITE // Turns off all rgb but allow rgb indicators to work | 39 | RGB_NITE, // Turns off all rgb but allow rgb indicators to work |
| 40 | |||
| 41 | NEW_SAFE_RANGE // new safe range for keymap level custom keycodes | ||
| 40 | }; | 42 | }; |
| 41 | 43 | ||
| 42 | #define KC_CAD LALT(LCTL(KC_DEL)) | 44 | #define KC_CAD LALT(LCTL(KC_DEL)) |
| @@ -67,6 +69,14 @@ enum custom_user_keycodes { | |||
| 67 | 69 | ||
| 68 | uint8_t get_selected_layer(void); | 70 | uint8_t get_selected_layer(void); |
| 69 | void encoder_action_layerchange(bool clockwise); | 71 | void encoder_action_layerchange(bool clockwise); |
| 72 | |||
| 73 | #if defined(RGB_MATRIX_ENABLE) || defined(RGBLIGHT_ENABLE) | ||
| 74 | void encoder_action_rgb_speed(bool clockwise); | ||
| 75 | void encoder_action_rgb_hue(bool clockwise); | ||
| 76 | void encoder_action_rgb_saturation(bool clockwise); | ||
| 77 | void encoder_action_rgb_brightness(bool clockwise); | ||
| 78 | void encoder_action_rgb_mode(bool clockwise); | ||
| 79 | #endif // RGB_MATRIX_ENABLE / RGBLIGHT_ENABLE | ||
| 70 | #endif // ENCODER_ENABLE | 80 | #endif // ENCODER_ENABLE |
| 71 | 81 | ||
| 72 | 82 | ||
