diff options
author | Benjamin Tissoires <[email protected]> | 2022-02-03 15:32:21 +0100 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2022-03-01 15:46:02 +0100 |
commit | 22f4b026c3ddd4b26c5baa202bd3ee38feaa2e9a (patch) | |
tree | f5ac2dd7e99a7afe1582e662e8bc05553c4b98b5 /lib/test_overflow.c | |
parent | 187ccd6caa4b40dcfbcb2531746e9fe500414e79 (diff) |
HID: compute an ordered list of input fields to process
This will be used in a later commit:
we build a list of input fields (and usage_index) that is ordered based
on a usage priority.
Changing the usage priority allows to re-order the processed list, meaning
that we can enforce some usages to be process before others.
For instance, before processing InRange in the HID tablets, we need to
know if we are using the eraser (side or button). Enforcing a higher
(lower number) priority for Invert allows to force the input stack to
process that field before.
Signed-off-by: Benjamin Tissoires <[email protected]>
Reviewed-by: Ping Cheng <[email protected]>
Acked-by: Peter Hutterer <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions