markfirmware/zig-on-rpi-using-ultibo
zig receiving tv remote controller presses using ultibo on raspberry pi's
Download and operate using an sd card zip file: https://github.com/markfirmware/zig-on-rpi-using-ultibo/releases
The main ultibo program calls the zig function named zigmain. zigmain logs the command line arguments that are passed to it. zigmain then registers a callback with the raspberry pi userland that is embedded in ultibo. This callback responds to tv remote controller button presses by recording a message in the ultibo log (displayed on screen.)
The tv requires cec (consumer electronics control.)
ultibo supports a lot of the raspberry pi hardware and accessories and has many software features including various free pascal packages .
Dependencies:
Obtain this repo:
git clone https://github.com/markfirmware/zig-on-rpi-using-ultibo
Build the kernels for the various raspberry pi models:
zig build kernels
(For reference, these repositories have already been included as git subtrees:)
git subtree add --prefix subtree/ultibohub/API https://github.com/ultibohub/API master --squash
git subtree add --prefix subtree/ultibohub/Userland https://github.com/ultibohub/Userland ultibo --squash