From 458a2f8344c9e9cf6d3e70d554213b944ee1475b Mon Sep 17 00:00:00 2001 From: "regicidal.plutophage" <36969337+regicidalplutophage@users.noreply.github.com> Date: Thu, 7 Nov 2024 22:26:48 +0300 Subject: [PATCH] Even saner defaults --- kmk/scanners/keypad.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kmk/scanners/keypad.py b/kmk/scanners/keypad.py index 95d9e335e..743a69afa 100644 --- a/kmk/scanners/keypad.py +++ b/kmk/scanners/keypad.py @@ -43,7 +43,7 @@ def __init__( *, columns_to_anodes=DiodeOrientation.COL2ROW, interval=0.01, - debounce_threshold=2, + debounce_threshold=5, max_events=64, ): self.keypad = keypad.KeyMatrix( @@ -71,7 +71,7 @@ def __init__( value_when_pressed=False, pull=True, interval=0.01, - debounce_threshold=2, + debounce_threshold=5, max_events=64, ): self.keypad = keypad.Keys( @@ -96,7 +96,7 @@ def __init__( key_count, value_when_pressed=False, interval=0.01, - debounce_threshold=2, + debounce_threshold=5, max_events=64, ): self.keypad = keypad.ShiftRegisterKeys(