Skip to content

Commit

Permalink
Don't read (the default 250ms) DoubleTapSwitchLayerTimeout from the u…
Browse files Browse the repository at this point in the history
…ser configuration but rather set it to 150ms which feels quite optimal.
  • Loading branch information
mondalaci committed Mar 5, 2018
1 parent 2e53331 commit 7e524d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion right/src/config_parser/parse_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ parser_error_t ParseConfig(config_buffer_t *buffer)
// If parsing succeeded then apply the parsed values.

if (!ParserRunDry) {
DoubleTapSwitchLayerTimeout = doubleTapSwitchLayerTimeout;
// DoubleTapSwitchLayerTimeout = doubleTapSwitchLayerTimeout;

// Update LED brightnesses and reinitialize LED drivers

Expand Down
2 changes: 1 addition & 1 deletion right/src/usb_report_updater.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
uint32_t UsbReportUpdateTime = 0;
static uint32_t elapsedTime;

uint16_t DoubleTapSwitchLayerTimeout = 250;
uint16_t DoubleTapSwitchLayerTimeout = 150;
uint16_t DoubleTapSwitchLayerReleaseTimeout = 100;

static bool activeMouseStates[ACTIVE_MOUSE_STATES_COUNT];
Expand Down

0 comments on commit 7e524d9

Please sign in to comment.