Browse Source

Merge pull request #33 from chabad360/patch-1

Fix #18
master
Evan Widloski 4 years ago committed by GitHub
parent
commit
89505ec975
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      remarkable_mouse/evdev.py

6
remarkable_mouse/evdev.py

@ -47,14 +47,16 @@ def create_local_device(): @@ -47,14 +47,16 @@ def create_local_device():
libevdev.EV_ABS.ABS_X,
libevdev.InputAbsInfo(
minimum=0,
maximum=MAX_ABS_X
maximum=MAX_ABS_X,
resolution=2531
)
)
device.enable(
libevdev.EV_ABS.ABS_Y,
libevdev.InputAbsInfo(
minimum=0,
maximum=MAX_ABS_Y
maximum=MAX_ABS_Y,
resolution=2531
)
)
device.enable(

Loading…
Cancel
Save