]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
media: bpf: add bpf function to report mouse movement
authorSean Young <sean@mess.org>
Thu, 6 Dec 2018 13:01:03 +0000 (13:01 +0000)
committerAlexei Starovoitov <ast@kernel.org>
Sun, 9 Dec 2018 22:37:18 +0000 (14:37 -0800)
commit01d3240a04f4c09392e13c77b54d4423ebce2d72
tree429aa466773d2210b59d0b5eaa68c418b211aafd
parentca5d1a7fad0f8a95cbcc992fcfd687b4c5653619
media: bpf: add bpf function to report mouse movement

Some IR remotes have a directional pad or other pointer-like thing that
can be used as a mouse. Make it possible to decode these types of IR
protocols in BPF.

Cc: netdev@vger.kernel.org
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
drivers/media/rc/bpf-lirc.c
include/uapi/linux/bpf.h
tools/include/uapi/linux/bpf.h
tools/testing/selftests/bpf/bpf_helpers.h
tools/testing/selftests/bpf/test_lirc_mode2.sh
tools/testing/selftests/bpf/test_lirc_mode2_kern.c
tools/testing/selftests/bpf/test_lirc_mode2_user.c