keypressmgr.py
def beginRegion(self): # {{{1
    "Start current round of key press handling"
    self._keys = p.getKeyboardEvents()
    # Handle keybinds
    for kb in self._binds:
      if isPressed(self._keys, kb["key"], kb["states"], kb["modifiers"]):
        if monotonic() - kb["lastPress"] >= kb["timeout"]:
          self._callBoundFunc(kb)
        kb["lastPress"] = monotonic()
Start current round of key press handling
Start current round of key press handling
Start current round of key press handling
def beginRegion(self): 
    self._keys = p.getKeyboardEvents()
    for kb in self._binds:
      if isPressed(self._keys, kb["key"], kb["states"], kb["modifiers"]):
        if monotonic() - kb["lastPress"] >= kb["timeout"]:
          self._callBoundFunc(kb)
        kb["lastPress"] = monotonic()
def beginRegion ( self ) : self . _keys = p . getKeyboardEvents ( ) for kb in self . _binds : if isPressed ( self . _keys , kb [ "key" ] , kb [ "states" ] , kb [ "modifiers" ] ) : if monotonic ( ) - kb [ "lastPress" ] >= kb [ "timeout" ] : self . _callBoundFunc ( kb ) kb [ "lastPress" ] = monotonic ( )
Start current round of key press handling
Start current round of key press handling
# {{{1 "Start current round of key press handling" # Handle keybinds
self