OpenBSD cvs log

created 2021-09-19T16:42:27Z
begin 2021-09-01T10:40:19Z
end 2021-09-01T10:41:39Z
path src/sys
commits 1

date 2021-09-01T10:41:39Z
author anton
files src/sys/dev/hid/hid.h log diff annotate
src/sys/dev/usb/ucc.c log diff annotate
message Add support for the more rare volume usage which differs compared to the
more common volume increment/decrement usages in which each volume
change direction is represented using a distinct usage. The volume usage
instead uses bits of the interrupt buffer to represent the wanted
volume. The same bits should be within the bounds given by the logical
min/max associated with the HID item. However, the volume is not
interpreted as an absolute value but rather just looking at the sign bit
in order to determine the volume change direction.

I couldn't find any documentation of this usage and the implementation is
therefore solely based on analysing actual data from Richard Toohey's
<richardjtoohey at gmail dot com> Dell keyboard.