Pulse-Eight/libcec
About
USB CEC Adapter communication Library
Developer ToolsMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +2
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original
About
This library provides support for Pulse-Eight's USB-CEC adapter and other CEC capable hardware, like the Raspberry Pi.
A list of FAQ (Frequently Asked Questions) can be found on libCEC's FAQ page.
.Net client applications, previously part of this repository, have been moved to this repository.
API documentation
Full API reference — with install and usage guides — for every binding is published at pulse-eight.github.io/libcec:
- C / C++ — the native
ICECAdapterinterface and the C API - .NET — the managed
LibCecSharpbinding - Node.js — the N-API addon
- Python — the SWIG
cecmodule - Rust — the
libceccrate
The docs are generated from this source tree; see docs/api/README.md.
Packages
Three bindings are published to their language's registry, from 8.1.6 onwards. Each binds the native library rather than containing it, so libCEC itself still has to be installed — see the platform sections below.
| install | ||
|---|---|---|
| .NET | dotnet add package LibCecSharp |
nuget.org |
| Node.js | npm install libcec |
npmjs.com |
| Rust | cargo add libcec |
crates.io |
C, C++ and Python come from the platform packages: libcec8-dev and
python-libcec on Debian/Ubuntu, or the Windows installer.
Supported platforms
Linux & BSD
See docs/README.linux.md.
Apple OS X
See docs/README.osx.md.
Microsoft Windows
Supported hardware
- Pulse-Eight USB-CEC Adapter
- Pulse-Eight Intel NUC CEC Adapter
- Pulse-Eight CEC Adapter for Skull Canyon and Hades Canyon NUC systems
- Raspberry Pi
- Some Exynos SoCs
- NXP TDA995x
- Odroid C2 (Amlogic S905)
Developers
See docs/README.developers.md.
Vendor specific notes
Panasonic
- On Panasonic to enable media control buttons on bottom of the remote, you may have to change the operation mode. To change it, press bottom Power-button, keep it pressed, and press 7 3 Stop. After releasing Power-button, Play, Pause, etc should work in XBMC.
Raspberry Pi
- If your TV cannot detect the Raspberry Pi's CEC, or if the the Pi can't detect the TV, try adding the following line in
/boot/config.txtand reboot the Pi:hdmi_force_hotplug=1
Explore related projects
Loading…