Skip to content

Commit

Permalink
merge sensor definition
Browse files Browse the repository at this point in the history
  • Loading branch information
rogermeletta committed Jul 4, 2024
1 parent 2a01bb1 commit ab5340b
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions config/corne.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@
sensors {
compatible = "zmk,keymap-sensors";
sensors = <&left_encoder>;
triggers-per-rotation = <20>;

};
};

Expand Down Expand Up @@ -394,11 +396,3 @@
};
};
};


&sensors {
// Change this to your encoder's number of detents.
// If you have multiple encoders with different detents, see
// https://zmk.dev/docs/config/encoders#keymap-sensor-config
triggers-per-rotation = <20>;
};

0 comments on commit ab5340b

Please sign in to comment.