diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2025-03-22 15:53:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-22 15:53:40 +0000 |
commit | 9983945cb8872e5777062b4d30a6b1f7ceaef5d6 (patch) | |
tree | b9530a263253a97768a0b9455bb36553f11b1953 | |
parent | 64dd7913e52fb78f88c5515bd9aebfc0c1e82647 (diff) | |
parent | 189aabfd6fa64f4210e05eea155df850cda81942 (diff) |
Merge pull request #2002 from Spaceslug/master
Give evdev arbitrary 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; |