keytable: add support for iMON RSC remote pointer
PATCH 1/1 keytable: add support for iMON RSC remote pointer
This remote has a small joystick which acts like a mouse. Support decoding this.
Signed-off-by Sean Young <[email protected]>
--- utils/keytable/bpf_protocols/Makefile.am | 2 +- utils/keytable/bpf_protocols/bpf_helpers.h | 192 +++++++++++------- utils/keytable/bpf_protocols/imon_rsc.c | 156 ++++++++++++++ utils/keytable/rc_keymaps/imon_rsc.toml | 2 + .../rc_keymaps_userspace/imon_rsc.toml | 50 +++++ 5 files changed, 330 insertions(+), 72 deletions(-) create mode 100644 utils/keytable/bpf_protocols/imon_rsc.c create mode 100644 utils/keytable/rc_keymaps_userspace/imon_rsc.toml
utils/keytable/bpf_protocols/Makefile.am +1 -1
@@ -10,7 +10,7 @@ CLANG_SYS_INCLUDES := $(shell $(CLANG) -v -E - </dev/null 2>&1 \ %.o: %.c bpf_helpers.h $(CLANG) $(CLANG_SYS_INCLUDES) -D__linux__ -I$(top_srcdir)/include -target bpf -O2 -c $< -PROTOCOLS = grundig.o pulse_distance.o pulse_length.o rc_mm.o manchester.o xbox.o +PROTOCOLS = grundig.o pulse_distance.o pulse_length.o rc_mm.o manchester.o xbox.o imon_rsc.o all: $(PROTOCOLS)
utils/keytable/bpf_protocols/bpf_helpers.h +121 -71
258 lines not on this page · raw message
utils/keytable/bpf_protocols/imon_rsc.c new file +156 -0
156 lines not on this page · raw message
utils/keytable/rc_keymaps/imon_rsc.toml +2 -0
@@ -46,3 +46,5 @@ variant = "necx" 0x801052 = "KEY_REWIND" 0x801053 = "KEY_FASTFORWARD" 0x801089 = "KEY_ZOOM" +[[protocols]] +protocol = "imon_rsc"
utils/keytable/rc_keymaps_userspace/imon_rsc.toml new file +50 -0
50 lines not on this page · raw message
Signature · 1 line
2.20.1