Преглед изворни кода

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 година
родитељ
комит
6d2a4e0f23
2 измењених фајлова са 11 додато и 0 уклоњено
  1. 7
    0
      Scan/MatrixARM/capabilities.kll
  2. 4
    0
      Scan/MatrixARM/matrix_scan.c

+ 7
- 0
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


+ 4
- 0
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 -----