Browse Source

Adding StrobeDelay KLL option to fix problemmatic keyboards

- Almost never needed
- However, some keyboards exhibit odd strobing behaviours (pressing two keys at once with a single key)
- Setting to around 10 us tends to fix the issue
master
Jacob Alexander 7 years ago
parent
commit
6d2a4e0f23
2 changed files with 11 additions and 0 deletions
  1. 7
    0
      Scan/MatrixARM/capabilities.kll
  2. 4
    0
      Scan/MatrixARM/matrix_scan.c

+ 7
- 0
Scan/MatrixARM/capabilities.kll View File

@@ -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


+ 4
- 0
Scan/MatrixARM/matrix_scan.c View File

@@ -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 -----