diff options
author | 2015-04-30 10:09:31 +0000 | |
---|---|---|
committer | 2015-04-30 10:09:31 +0000 | |
commit | c7bdea979dfce216d06fe192fb07d4a433845ff0 (patch) | |
tree | ac85f41ae246eea9ea700870c46c2d3dc5cc688c /usr.bin/grep/grep.c | |
parent | Instead of using a single flat array for all sensors, put all the (diff) | |
download | wireguard-openbsd-c7bdea979dfce216d06fe192fb07d4a433845ff0.tar.xz wireguard-openbsd-c7bdea979dfce216d06fe192fb07d4a433845ff0.zip |
Link report descriptors to known sensors.
Since HID buffers always start by a reportID we can access the corresponding
report descriptor in O(1). Having a list of sensors attached to each report
descriptor makes it easier to update all of them with only on I/O request.
Note that sensors are attached in depency order on every report list.
From David Higgs.
Diffstat (limited to 'usr.bin/grep/grep.c')
0 files changed, 0 insertions, 0 deletions