Skip to content
项目

关于

USB CEC Adapter 通信库

开发工具

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
+2
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Pulse-Eight logo

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 ICECAdapter interface and the C API
  • .NET — the managed LibCecSharp binding
  • Node.js — the N-API addon
  • Python — the SWIG cec module
  • Rust — the libcec crate

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

See docs/README.windows.md.

Supported hardware

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.txt and reboot the Pi: hdmi_force_hotplug=1

探索相关项目

加载中…