(self, queues, ring_length, check_full)
Initialise to given length.
Initialise to given length.
Initialise to given length .
def __init__(self, queues, ring_length, check_full):
        """Initialise to given length."""
        self._queues = queues
        # buffer holds tuples (eascii/codepage, scancode, modifier)
        self._buffer = [(b'\0\0', 0)] * ring_length
        self._ring_length = ring_length
        self._start = ring_length
        # check if ring is full
        self._check_full = check_full
def __init__ ( self , queues , ring_length , check_full ) : self . _queues = queues # buffer holds tuples (eascii/codepage, scancode, modifier) self . _buffer = [ ( b'\0\0' , 0 ) ] * ring_length self . _ring_length = ring_length self . _start = ring_length # check if ring is full self . _check_full = check_full