Skip to content

Commit

Permalink
move to proper location
Browse files Browse the repository at this point in the history
  • Loading branch information
elementalvoid authored Sep 24, 2024
1 parent a4593a6 commit 2e4944d
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions config/sofle.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,22 @@

/ {

// defaults for triggers/steps: https://github.com/zmkfirmware/zmk/blob/main/app/boards/shields/sofle/sofle.dtsi
// explanations of settings: https://zmk.dev/docs/config/encoders
// steps is number of physical pulses per rotation
// triggers is number of times bound action is run per rotation
left_encoder: encoder_left {
steps = <15>; // default is 80, datasheet says 15
};

right_encoder: encoder_right {
steps = <15>; // default is 80, datasheet says 15
};

sensors {
compatible = "zmk,keymap-sensors";
sensors = <&left_encoder &right_encoder>;

// defaults for triggers/steps: https://github.com/zmkfirmware/zmk/blob/main/app/boards/shields/sofle/sofle.dtsi
// explanations of settings: https://zmk.dev/docs/config/encoders
// steps is number of physical pulses per rotation
// triggers is number of times bound action is run per rotation
//triggers-per-rotation = <30>; // default is 20
steps = <15>; // default is 80, datasheet says 15
};

behaviors {
Expand Down

0 comments on commit 2e4944d

Please sign in to comment.