Don't read (the default 250ms) DoubleTapSwitchLayerTimeout from the user configuration but rather set it to 150ms which feels quite optimal.
This commit is contained in:
@@ -136,7 +136,7 @@ parser_error_t ParseConfig(config_buffer_t *buffer)
|
|||||||
// If parsing succeeded then apply the parsed values.
|
// If parsing succeeded then apply the parsed values.
|
||||||
|
|
||||||
if (!ParserRunDry) {
|
if (!ParserRunDry) {
|
||||||
DoubleTapSwitchLayerTimeout = doubleTapSwitchLayerTimeout;
|
// DoubleTapSwitchLayerTimeout = doubleTapSwitchLayerTimeout;
|
||||||
|
|
||||||
// Update LED brightnesses and reinitialize LED drivers
|
// Update LED brightnesses and reinitialize LED drivers
|
||||||
|
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
uint32_t UsbReportUpdateTime = 0;
|
uint32_t UsbReportUpdateTime = 0;
|
||||||
static uint32_t elapsedTime;
|
static uint32_t elapsedTime;
|
||||||
|
|
||||||
uint16_t DoubleTapSwitchLayerTimeout = 250;
|
uint16_t DoubleTapSwitchLayerTimeout = 150;
|
||||||
uint16_t DoubleTapSwitchLayerReleaseTimeout = 100;
|
uint16_t DoubleTapSwitchLayerReleaseTimeout = 100;
|
||||||
|
|
||||||
static bool activeMouseStates[ACTIVE_MOUSE_STATES_COUNT];
|
static bool activeMouseStates[ACTIVE_MOUSE_STATES_COUNT];
|
||||||
|
|||||||
Reference in New Issue
Block a user