Join GitHub today
[Linux] add libinput backend for non window system platforms #13176
I'm expecting to get a bit of push back here but let me explain.
So far this PR adds feature parity to the current code. I did not want to extend the feature set in the initial PR as that may add complexity to the testing and code review. This input handling should be the same or better (I've noticed an improvement in touchscreen accuracy).
This input handling doesn't support remotes you must use something like eventlircd for that.
In the future (outside the scope of this PR) I'd like to add a settings selection for things like keymap selection, input options (input tapping, mouse acceleration, natural scrolling, left handed, etc).
This PR now builds for any projects that use CLinuxInputDevices so GBM, RPi, and AML are the candidates. This does not apply to any other platforms.
I've separated the commits into semi-logical groups for easier review. I plan to squash into one commit if this is merged.
This PR has a dependency on libinput and libxkbcommon (for keyboard handling).
Relevant changes to LE are here, LibreELEC/LibreELEC.tv@master...lrusak:libinput-kodi
If this is approved then we probably need to add libinput and it's dependencies to the build depends.
almost got there,
I assume we include the kernel headers for rpi in jenkins. How should I be including them in cmake?