"Christos Zoulas" writes:
> Module Name:  src
> Committed By: christos
> Date:         Mon Mar  2 18:15:29 UTC 2020
> 
> Modified Files:
>       src/sys/dev/hid: hid.h
>       src/sys/dev/usb: uhid.c
> 
> Log Message:
> Add fido constants, and turn hid "raw" mode for fido devices.

this is gross.

please don't put device specific stuff into uhid like this.

without really understanding, it seems that there should be
a uhid ioctl to enable this mode, and then your userland code
sets it, instead of this hack.

also, please actually explain what this "raw" mode means.  is
there perhaps a way to avoid this entirely?  what's the real
underlying need here..?


.mrg.

Reply via email to