diff options
author | Angela Czubak <aczubak@google.com> | 2025-08-18 23:08:45 +0000 |
---|---|---|
committer | Benjamin Tissoires <bentiss@kernel.org> | 2025-09-15 14:32:54 +0200 |
commit | b44779d44f7152c1b62091ab31514a62b4629d4c (patch) | |
tree | 564753d97cce81f8d97aec5f8d6355e516055015 /tools/docs/lib/parse_data_structs.py | |
parent | 7075ae4ac9db93a3e762f3c2793ad57dbbf8a120 (diff) |
HID: haptic: introduce hid_haptic_device
Define a new structure that contains simple haptic device configuration
as well as current state.
Add functions that recognize auto trigger and manual trigger reports
as well as save their addresses.
Verify that the pressure unit is either grams or newtons.
Mark the input device as a haptic touchpad if the unit is correct and
the reports are found.
Signed-off-by: Angela Czubak <aczubak@google.com>
Co-developed-by: Jonathan Denose <jdenose@google.com>
Signed-off-by: Jonathan Denose <jdenose@google.com>
Signed-off-by: Benjamin Tissoires <bentiss@kernel.org>
Diffstat (limited to 'tools/docs/lib/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions