diff options
author | vin <git@vineetk.net> | 2023-10-15 19:46:33 -0400 |
---|---|---|
committer | vin <git@vineetk.net> | 2023-10-15 19:46:33 -0400 |
commit | 7ed78a843d4a90ae8adc69bf3c3dbf573a379f75 (patch) | |
tree | 420f8e7829b46bf43b5dbafc46f0a72f644e9588 /users/rmw/encoder_functions.c | |
parent | 392a85e1f6fefd549cd52945ab1447a2d6901484 (diff) |
remove userspace declarations
Diffstat (limited to 'users/rmw/encoder_functions.c')
-rw-r--r-- | users/rmw/encoder_functions.c | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/users/rmw/encoder_functions.c b/users/rmw/encoder_functions.c deleted file mode 100644 index 39032d0eba..0000000000 --- a/users/rmw/encoder_functions.c +++ /dev/null @@ -1,53 +0,0 @@ -// Encoder functions to mix and match! - -#include "encoder_functions.h" - -void enc_move_words(bool cw){ // Move whole words. Hold shift to select while moving. - if (cw) { - tap_code16(A(KC_RGHT)); - } else { - tap_code16(A(KC_LEFT)); - } -} -void enc_history_scrubbing(bool cw){ // Undo/Redo. - if (cw) { - tap_code16(G(S(KC_Z))); - } else { - tap_code16(G(KC_Z)); - } -} -void enc_scrolling(bool cw){ // Scrolling. - if (cw) { - tap_code(KC_MS_WH_DOWN); - } else { - tap_code(KC_MS_WH_UP); - } -} -void enc_scrolling_h(bool cw){ // Scrolling. - if (cw) { - tap_code(KC_MS_WH_RIGHT); - } else { - tap_code(KC_MS_WH_LEFT); - } -} -void enc_volume_knob(bool cw){ // Volume control. - if (cw) { - tap_code(KC_VOLU); - } else { - tap_code(KC_VOLD); - } -} -void enc_move_desktop(bool cw){ // Switch Desktops (Mac). - if (cw) { - tap_code16(C(KC_RIGHT)); - } else { - tap_code16(C(KC_LEFT)); - } -} -void enc_zoom(bool cw){ // Zoom in/zoom out. - if (cw) { - tap_code16(G(KC_PLUS)); - } else { - tap_code16(G(KC_MINUS)); - } -} |