3 releases

0.1.2 Feb 7, 2023
0.1.1 Dec 10, 2022
0.1.0 May 21, 2022

#1480 in Hardware support

MIT license

14MB
266K SLoC

Bitbake 227K SLoC // 0.1% comments Java 27K SLoC // 0.2% comments Rust 10K SLoC // 0.0% comments XSL 2K SLoC // 0.1% comments Shell 350 SLoC // 0.1% comments Forth 72 SLoC Forge Config 60 SLoC // 0.3% comments Batch 46 SLoC // 0.1% comments

cir - a new implementation of ir-keytable/ir-ctl for linux

For Linux, there are two tools to interact with any infrared hardware: ir-ctl and ir-keytable. These tools can load simple infrared keymaps and load decoders, and transmit simple IR. The IR decoders are hardcoded and a small set is included.

This project plans to completely replace both those tools, but with three major new features:

  • Pronto hex codes
  • IRP support
  • lircd.conf remote definition support

Pronto hex codes are a fairly straightforward way of encoding raw IR, NEC, RC-5 and a few others.

IRP is a DSL language which can express any IR protocol. The aim is parse IRP and compile a decoder to BPF. So, any protocol can be supported directly.

This is a while away and there is much work to be done.

Dependencies

~13–25MB
~383K SLoC