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():
# Set device properties to emulate those of Wacom tablets # Set device properties to emulate those of Wacom tablets
device.name = 'reMarkable tablet' device.name = 'reMarkable tablet'
device.id = { device.id = {
'bustype': 24, 'bustype': 0x18, # i2c
'vendor': 1386, 'vendor': 0x056a, # wacom
'product': 0, 'product': 0,
'version': 54 'version': 54
} }

Loading…
Cancel
Save