(self)
Initialise light pen.
Initialise light pen.
Initialise light pen .
def __init__(self):
        """Initialise light pen."""
        self._is_down = False
        self._pos = 0, 0
        # signal pen has been down for PEN polls in pen_()
        self._was_down = False
        self._down_pos = (0, 0)
def __init__ ( self ) : self . _is_down = False self . _pos = 0 , 0 # signal pen has been down for PEN polls in pen_() self . _was_down = False self . _down_pos = ( 0 , 0 )