aboutsummaryrefslogtreecommitdiffstats
path: root/utils/keytable/bpf_protocols
AgeCommit message (Collapse)AuthorFilesLines
2020-03-12keytable: new samsung36 bpf decoderSean Young2-1/+137
Signed-off-by: Sean Young <sean@mess.org>
2019-10-20ir-keytable: bpf: improve rsc imon pointer decoderSean Young1-31/+35
Sometimes the remotes sends 4 bits rather than 5. This makes the pointer much more reliable. Signed-off-by: Sean Young <sean@mess.org>
2019-09-22keytable: distribute bitmap.hGregor Jasny1-1/+1
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
2019-09-07keytable: kernel v5.2 does not like - in BPF nameSean Young1-1/+1
Replace with _. Signed-off-by: Sean Young <sean@mess.org>
2019-08-11keytable: fix build on ubuntuSean Young1-2/+0
Signed-off-by: Sean Young <sean@mess.org>
2019-08-08keytable: add support for keymap with raw literalsSean Young3-1/+186
These rc keymaps look like: [[protocols]] name = 'Beon_Colour_TV' protocol = 'raw' [[protocols.raw]] keycode = 'KEY_POWER' raw = [ 1324, 842, 6697, 26400, 1324, 842, 6697 ] [[protocols.raw]] keycode = 'KEY_MUTE' raw = [ 1305, 865, 2357, 931, 3411, 26400, 1305, 865, 2357, 931, 3411 ] So the incoming IR will be literally compared against the IR given, and only if the entire array matches with no leading or trailing IR will the keycode be reported. This is analogous to lircd raw_codes support, so lircd2toml.py can also convert raw_codes lircd.conf files. This means that the vast majority of lircd files can now be converted. This feature requires loops in BPF programs so this is only supported in kernel 5.3 onwards. Signed-off-by: Sean Young <sean@mess.org>
2019-05-26keytable: add xbox-dvd protocol to match kernelSean Young2-2/+2
Rename the bpf protocol to match. Now we can use the generated keymap for the XBox DVD remote. Signed-off-by: Sean Young <sean@mess.org>
2019-01-10keytable: add support for iMON RSC remote pointerSean Young3-72/+259
This remote has a small joystick which acts like a mouse. Support decoding this. Signed-off-by: Sean Young <sean@mess.org>
2018-11-23keytable: do not install bpf protocols decoders with execute permissionSean Young1-1/+1
The rpm packaging system will try to extract debug information, which fails since there is no build id. This can be avoided by removing the execute permission. BPF relocatable files are executable anyway so this is the right thing to do. See: https://github.com/rpm-software-management/rpm/pull/604 Signed-off-by: Sean Young <sean@mess.org>
2018-11-22keytable: bpf decoder and keymap for XBox DVD RemoteSean Young2-1/+130
This uses a modified nec protocol, where 24 bits are sent and the first 12 bits are inverted. Signed-off-by: Sean Young <sean@mess.org>
2018-11-07keytable: fix BPF protocol compilation on mipsSean Young1-1/+1
clang -idirafter /usr/local/include -idirafter +/usr/lib/llvm-6.0/lib/clang/6.0.1/include -idirafter +/usr/include/mips64el-linux-gnuabi64 -idirafter /usr/include +-I../../../include -target bpf -O2 -c grundig.c > In file included from grundig.c:5: > In file included from ../../../include/linux/lirc.h:10: > In file included from /usr/include/linux/types.h:9: > In file included from /usr/include/linux/posix_types.h:36: > In file included from +/usr/include/mips64el-linux-gnuabi64/asm/posix_types.h:13: > /usr/include/mips64el-linux-gnuabi64/asm/sgidefs.h:19:2: error: Use a Linux +compiler or give up. > #error Use a Linux compiler or give up. This requires __linux__ to be defined. Signed-off-by: Sean Young <sean@mess.org>
2018-10-06buildsystem: Add all required files to dist targetGregor Jasny1-1/+4
2018-08-13keytable: add bpf protocolsSean Young7-0/+1080
Add a few BPF protocols and infrastructure for building them. Signed-off-by: Sean Young <sean@mess.org>

Privacy Policy