aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Config_Reference.md
diff options
context:
space:
mode:
authorRufo Sanchez <rufo@rufosanchez.com>2021-09-12 16:59:15 -0500
committerKevinOConnor <kevin@koconnor.net>2021-10-11 11:29:53 -0400
commitb336a21fe7361c4a0ff177a99e046472dfe0e96b (patch)
tree0c1162065a02830f107f23b8d1800ae3714e7f9f /docs/Config_Reference.md
parent5f184e3f98bbc59ca2d24729339535e208e7dc3a (diff)
downloadkutter-b336a21fe7361c4a0ff177a99e046472dfe0e96b.tar.gz
kutter-b336a21fe7361c4a0ff177a99e046472dfe0e96b.tar.xz
kutter-b336a21fe7361c4a0ff177a99e046472dfe0e96b.zip
button: Support half-stepping encoders
Adds support for half-stepping encoders (encoders that only emit two steps per detent, instead of four). Incorporates the feedback from @susisstrolch's PR: https://github.com/KevinOConnor/klipper/pull/4202 , which was itself built upon a previous PR from @nickbrennan01: https://github.com/KevinOConnor/klipper/pull/730 Uses the table from the Rotary Arduino library linked in buttons.py: https://github.com/brianlow/Rotary/blob/6b784cca67c5f1ce5e11d757a540fc4c0311efca/Rotary.cpp#L21-L40 Signed-off-by: Rufo Sanchez <rufo@rufosanchez.com>
Diffstat (limited to 'docs/Config_Reference.md')
-rw-r--r--docs/Config_Reference.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/Config_Reference.md b/docs/Config_Reference.md
index 1ae5a5c6..b8dd356e 100644
--- a/docs/Config_Reference.md
+++ b/docs/Config_Reference.md
@@ -3240,6 +3240,11 @@ lcd_type:
#encoder_pins:
# The pins connected to encoder. 2 pins must be provided when using
# encoder. This parameter must be provided when using menu.
+#encoder_steps_per_detent:
+# How many steps the encoder emits per detent ("click"). If the
+# encoder takes two detents to move between entries or moves two
+# entries from one detent, try changing this. Allowed values are 2
+# (half-stepping) or 4 (full-stepping). The default is 4.
#click_pin:
# The pin connected to 'enter' button or encoder 'click'. This
# parameter must be provided when using menu. The presence of an