Instead of hard depending on the include of linux/input.h we check
whether that include file exists and properly ifdef all usages.
Unfortunately there is no replacement for those parts which do mapping
of input event codes.
sebas | |
tcberner |
Plasma on Wayland |
Instead of hard depending on the include of linux/input.h we check
whether that include file exists and properly ifdef all usages.
Unfortunately there is no replacement for those parts which do mapping
of input event codes.
No Linters Available |
No Unit Test Coverage |
On FreeBSD we have linux/input.h provided by multimedia/v4l_compat [1] -- which we already depend on at the moment.
But I think it's a good idea to make it optional.