(self, signal)
return True
Handle pen-related input signals.
Handle pen-related input signals.
Handle pen - related input signals .
def check_input(self, signal):
        """Handle pen-related input signals."""
        if signal.event_type == signals.PEN_DOWN:
            self._down(*signal.params)
        elif signal.event_type == signals.PEN_UP:
            self._up()
        elif signal.event_type == signals.PEN_MOVED:
            self._moved(*signal.params)
        else:
            return False
        return True
def check_input ( self , signal ) : if signal . event_type == signals . PEN_DOWN : self . _down ( * signal . params ) elif signal . event_type == signals . PEN_UP : self . _up ( ) elif signal . event_type == signals . PEN_MOVED : self . _moved ( * signal . params ) else : return False return True