From 67760104b8b2109a8036e2fbccab2c76dfa04fe0 Mon Sep 17 00:00:00 2001 From: Andrew Somerville Date: Tue, 28 Apr 2020 00:57:48 -0400 Subject: [PATCH] chore: switch device id number to hex for easier matching with header files, and add comment noting what they mean --- remarkable_mouse/evdev.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/remarkable_mouse/evdev.py b/remarkable_mouse/evdev.py index a2c73f4..5e2c793 100644 --- a/remarkable_mouse/evdev.py +++ b/remarkable_mouse/evdev.py @@ -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 }