(self, scancode=None)
Initialise KEY trigger.
Initialise KEY trigger.
Initialise KEY trigger .
def __init__(self, scancode=None):
        """Initialise KEY trigger."""
        EventHandler.__init__(self)
        self._modcode = None
        self._scancode = scancode
        self._predefined = (scancode is not None)
def __init__ ( self , scancode = None ) : EventHandler . __init__ ( self ) self . _modcode = None self . _scancode = scancode self . _predefined = ( scancode is not None )