Skip to content

Split across three directories

Filing as draft because I ran out of time to actually test this. @bentiss feel free to take it and modify as you want

Spread the BPF files across three directories:

  • testing: for BPF programs that fix an objective bug in the hardware or firmware. Most users wills start developing in this directory.
  • stable: once a BPF program in testing has been accepted upstream and will be in the next kernel release it is moved from testing to here. Distributions wanting to ship udev-hid-bpf should install the BPF programs from stable.
  • userhacks: for BPF programs that are pure user preference, things like remapping buttons, muting axes because they cause a crash, etc. This programs can be collected here but may not be useful to other users or only useful after some more modification. They serve mostly as a guide/starting point for other user hacks.

Closes #7 (closed)

Not 100% about the newest-only feature (top commit) - what is missing here in particular: install.sh rebuilds everything without flags so we end up not installing with the newest feature. i wish we had a better build system though...

Merge request reports

Loading