Skip to content

Commit

Permalink
finetune public keymap
Browse files Browse the repository at this point in the history
  • Loading branch information
FearlessSpiff committed Mar 7, 2024
1 parent 15febdb commit c72bc96
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions app/boards/shields/reviung5/reviung5.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/outputs.h>
#include <dt-bindings/zmk/rgb.h>
#include <dt-bindings/zmk/ext_power.h>

#define BASE 0
#define BLE 1
Expand All @@ -20,7 +21,7 @@
rgb_encoder: rgb_encoder {
compatible = "zmk,behavior-sensor-rotate";
#sensor-binding-cells = <0>;
bindings = <&rgb_ug RGB_BRI>, <&rgb_ug RGB_BRD>;
bindings = <&rgb_ug RGB_BRD>, <&rgb_ug RGB_BRI>;
};
};

Expand All @@ -34,7 +35,7 @@
&mo BLE &kp C_PREVIOUS &kp C_PLAY_PAUSE &kp C_NEXT &lt RGB C_MUTE
// ╰─────────┴────────────────┴──────────────────┴────────────┴────────────────╯
>;
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN>;
sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP>;
};

ble_layer {
Expand All @@ -49,9 +50,9 @@
rgb_layer {
display-name = "RGB";
bindings = <
// ╭─────────────────┬─────────────────┬─────────────────┬──────────────────────────────────┬────────╮
&rgb_ug RGB_TOG &rgb_ug RGB_EFR &rgb_ug RGB_EFF &rgb_ug RGB_COLOR_HSB(265,75,98) &trans
// ╰─────────────────┴─────────────────┴─────────────────┴──────────────────────────────────┴────────╯
// ╭───────────────────┬─────────────────┬─────────────────┬──────────────────────────────────┬────────╮
&ext_power EP_TOG &rgb_ug RGB_EFR &rgb_ug RGB_EFF &rgb_ug RGB_COLOR_HSB(307,89,98) &trans
// ╰───────────────────┴─────────────────┴─────────────────┴──────────────────────────────────┴────────╯
>;
sensor-bindings = <&rgb_encoder>;
};
Expand Down

0 comments on commit c72bc96

Please sign in to comment.