(self)
Read and return a single input event as an instance of
        :class:`InputEvent <evdev.events.InputEvent>`.

        Return ``None`` if there are no pending input events.
Read and return a single input event as an instance of
        :class:`InputEvent <evdev.events.InputEvent>`.
Read and return a single input event as an instance of : class : InputEvent <evdev . events . InputEvent > .
def read_one(self):
        '''
        Read and return a single input event as an instance of
        :class:`InputEvent <evdev.events.InputEvent>`.

        Return ``None`` if there are no pending input events.
        '''

        # event -> (sec, usec, type, code, val)
        event = _input.device_read(self.fd)

        if event:
            return InputEvent(*event)
def read_one ( self ) : # event -> (sec, usec, type, code, val) event = _input . device_read ( self . fd ) if event : return InputEvent ( * event )