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.
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
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.