Re: hid-input.c && vendor defined usage pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Aseda,

On Tue, Sep 24, 2024 at 07:32:30PM -0500, Aseda Aboagye wrote:
> Perhaps this is a naive question, but why does `hidinput_configure_usage()` in
> `hid-input.c` configure vendor defined usage pages? In actuality, it seems like
> it's mainly handling some HP specific usage pages.  Why aren't those in some
> `hid-hp.c` file that's selected by a kernel config?

It is simply a historic artefact. These usages were mapped way before we
had HID sub-drivers and accompanying infrastructure.

Thanks.

-- 
Dmitry




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux