diff --git a/Scan/MatrixARM/capabilities.kll b/Scan/MatrixARM/capabilities.kll index fe0192d..f80d890 100644 --- a/Scan/MatrixARM/capabilities.kll +++ b/Scan/MatrixARM/capabilities.kll @@ -39,3 +39,10 @@ DebounceThrottleDiv = 0; # Default MinDebounceTime => MinDebounceTime_define; MinDebounceTime = 5; # 5 ms +# This option delays each strobe by the given number of microseconds +# By default this should *NOT* be set unless your keyboard is having issues +# Delaying more than 10 usecs may cause significant slow-downs with other keyboard functions +StrobeDelay => StrobeDelay_define; +StrobeDelay = 0; # Disabled +#StrobeDelay = 10; # 10 us + diff --git a/Scan/MatrixARM/matrix_scan.c b/Scan/MatrixARM/matrix_scan.c index cb5409e..f628077 100644 --- a/Scan/MatrixARM/matrix_scan.c +++ b/Scan/MatrixARM/matrix_scan.c @@ -46,6 +46,10 @@ nat_ptr_t Matrix_divCounter = 0; #endif +#if StrobeDelay_define > 0 && !defined( STROBE_DELAY ) +#define STROBE_DELAY StrobeDelay_define +#endif + // ----- Function Declarations -----