Skip to content

Commit

Permalink
Added brackets for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
SaschaCowley committed Sep 30, 2024
1 parent 685fa5a commit aed380f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/keyboardHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,10 @@ def internal_keyDownEvent(vkCode, scanCode, extended, injected):
or (
keyCode == lastNVDAModifier
and lastNVDAModifierReleaseTime
and time.time() - lastNVDAModifierReleaseTime
< config.conf["keyboard"]["multiPressTimeout"] / 1000
and (
time.time() - lastNVDAModifierReleaseTime
< config.conf["keyboard"]["multiPressTimeout"] / 1000
)
)
):
# The user wants the key to serve its normal function instead of acting as an NVDA modifier key.
Expand Down

0 comments on commit aed380f

Please sign in to comment.