Skip to content

Commit

Permalink
Reduce encoder sensitivity on T-TWR Plus
Browse files Browse the repository at this point in the history
Reduce encoder sensitivity on T-TWR Plus by dividing the pulse counter
input by two.

TG-553
  • Loading branch information
n1zzo committed Oct 9, 2023
1 parent e939218 commit 04d6d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/drivers/keyboard/keyboard_ttwrplus.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ keyboard_t kbd_getKeys()
keys &= ~KNOB_RIGHT;

// Read rotary encoder to send KNOB_LEFT and KNOB_RIGHT events
int8_t new_pos = platform_getChSelector();
int8_t new_pos = platform_getChSelector() / 2;
if (old_pos != new_pos)
{
int8_t delta = new_pos - old_pos;
Expand Down

0 comments on commit 04d6d01

Please sign in to comment.