diff --git a/remarkable_mouse/pynput.py b/remarkable_mouse/pynput.py index 0d91a33..89a3874 100644 --- a/remarkable_mouse/pynput.py +++ b/remarkable_mouse/pynput.py @@ -71,7 +71,7 @@ def read_tablet(args, remote_device): log.debug('Chose monitor: {}'.format(monitor)) while True: - _, _, e_type, e_code, e_value = struct.unpack('2IHHi', remote_device.read(16)) + _, _, e_type, e_code, e_value = struct.unpack('2IHHi', remote_device[0].read(16)) if e_type == e_type_abs: