diff options
author | HÃ¥vard Stien <me@spaceslug.no> | 2025-03-20 19:02:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-20 19:02:37 +0100 |
commit | 189aabfd6fa64f4210e05eea155df850cda81942 (patch) | |
tree | b9530a263253a97768a0b9455bb36553f11b1953 | |
parent | 64dd7913e52fb78f88c5515bd9aebfc0c1e82647 (diff) |
give evdev randrom bustype vendor product and version ids
-rw-r--r-- | proto-libevdev/ftnoir_protocol_libevdev.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/proto-libevdev/ftnoir_protocol_libevdev.cpp b/proto-libevdev/ftnoir_protocol_libevdev.cpp index d357670d..fefcd9bb 100644 --- a/proto-libevdev/ftnoir_protocol_libevdev.cpp +++ b/proto-libevdev/ftnoir_protocol_libevdev.cpp @@ -55,6 +55,11 @@ evdev::evdev() CHECK_LIBEVDEV(libevdev_enable_property(dev, INPUT_PROP_BUTTONPAD)); libevdev_set_name(dev, "opentrack headpose"); + + libevdev_set_id_bustype(dev, 3); + libevdev_set_id_vendor(dev, 4324); + libevdev_set_id_product(dev, 3798); + libevdev_set_id_version(dev, 123); struct input_absinfo absinfo; |