Re: License of input-event-codes.h

From: John Levine <johnl_at_iecc.com>
Date: Thu, 22 Sep 2022 17:03:08 UTC
It appears that tamamo meta <metatamamo@gmail.com> said:
>-=-=-=-=-=-
>
>Hello All
>
>I want to use input-event-codes.h for my project.
>https://cgit.freebsd.org/src/tree/sys/dev/evdev/input-event-codes.h
>
>However, I found a file with same name that differs only copyright and
>license notation in Linux kernel.
>https://github.com/torvalds/linux/blob/master/include/uapi/linux/input-event-codes.h
>
>How should I interpret the difference between the two licenses when
>using it for my project?

Pick the one you prefer. Both the 3-clause BSD license and the GPL
allow other licenses, so they're both valid. For obvious reasons I'd
pick the BSD one.

>Also, which one is the original?

Probably both.  It doesn't matter.

As someone else noted, since this file defines an interface, in the US
it is not subject to copyright. But that's only in the US.

Note that if you just #include the file in your code and use the defined
terms, that's not making a copy of it.

R's,
John