Skip to content

Commit

Permalink
add external power toggles
Browse files Browse the repository at this point in the history
  • Loading branch information
keymap-editor[bot] authored Aug 30, 2022
1 parent 5e3287b commit af01a4c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions config/reviung41.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/rgb.h>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/ext_power.h>
#include <dt-bindings/zmk/outputs.h>

/ {
Expand Down Expand Up @@ -272,10 +273,10 @@
// | | | | | |

bindings = <
&rgb_ug RGB_BRI &rgb_ug RGB_SAI &rgb_ug RGB_HUI &rgb_ug RGB_EFF &none &rgb_ug RGB_TOG &bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4
&rgb_ug RGB_BRD &rgb_ug RGB_SAD &rgb_ug RGB_HUD &rgb_ug RGB_EFR &none &none &kp K_PLAY_PAUSE &kp K_PREVIOUS &kp K_NEXT &kp K_MUTE &kp K_VOLUME_DOWN &kp K_VOLUME_UP
&trans &none &none &none &none &none &reset &bootloader &out OUT_USB &out OUT_BLE &out OUT_TOG &none
&trans &trans &tog 4 &trans &trans
&rgb_ug RGB_BRI &rgb_ug RGB_SAI &rgb_ug RGB_HUI &rgb_ug RGB_EFF &none &rgb_ug RGB_TOG &bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3 &bt BT_SEL 4
&rgb_ug RGB_BRD &rgb_ug RGB_SAD &rgb_ug RGB_HUD &rgb_ug RGB_EFR &ext_power EP_OFF &ext_power EP_ON &kp K_PLAY_PAUSE &kp K_PREVIOUS &kp K_NEXT &kp K_MUTE &kp K_VOLUME_DOWN &kp K_VOLUME_UP
&trans &none &none &none &none &none &reset &bootloader &out OUT_USB &out OUT_BLE &out OUT_TOG &none
&trans &trans &tog 4 &trans &trans
>;
};
};
Expand Down

0 comments on commit af01a4c

Please sign in to comment.