Browse Source

chore: switch device id number to hex for easier matching with header files, and add comment noting what they mean

master
Andrew Somerville 5 years ago
parent
commit
67760104b8
  1. 4
      remarkable_mouse/evdev.py

4
remarkable_mouse/evdev.py

@ -25,8 +25,8 @@ def create_local_device(): @@ -25,8 +25,8 @@ def create_local_device():
# Set device properties to emulate those of Wacom tablets
device.name = 'reMarkable tablet'
device.id = {
'bustype': 24,
'vendor': 1386,
'bustype': 0x18, # i2c
'vendor': 0x056a, # wacom
'product': 0,
'version': 54
}

Loading…
Cancel
Save