Browse Source

Merge pull request #1 from LinusCDE/master

Fixed struct format to prevent lagging cursor and future bug
master
Evan Widloski 5 years ago committed by GitHub
parent
commit
a890ba07ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      remarkable_mouse/remarkable_mouse.py

2
remarkable_mouse/remarkable_mouse.py

@ -104,7 +104,7 @@ def read_tablet(args): @@ -104,7 +104,7 @@ def read_tablet(args):
stdout = open_eventfile(args)
while True:
_, _, _, _, e_type, e_code, e_value = struct.unpack('4IHHI', stdout.read(24))
_, _, e_type, e_code, e_value = struct.unpack('2IHHi', stdout.read(16))
if e_type == EV_ABS:

Loading…
Cancel
Save