Skip to content

paulgrove/libcec

 
 

Repository files navigation

This library provides support for the Pulse-Eight USB-CEC adapter.

To install libCEC on Linux:
# autoreconf -vif
# ./configure --prefix=/usr
# make
# sudo make install

To install libCEC on Windows:
* open /project/libcec.sln with Visual C++ 2010 or Visual Studio 2010.
* build the project.
* copy libcec.dll and pthreadVC2.dll to your desired destination.

To build an installer on Windows:
* download and install the Windows DDK.
* download and install NSIS.
* go to /project and execute create-installer.cmd to create the installer.
* the installer is stored as /project/libCEC-installer.exe

Test the device:
* run "cec-client -h" to display the options of the test client.

For developers:
* see /include/cec.h for the C++ API and /include/cecc.h for the C version.
* see src/testclient/main.cpp for an example

For .NET developers:
* build project/libcec.sln first
* add a reference to LibCecSharp.dll
* see src\CecSharpTester\CecSharpClient.cs for an example

If you wish to contribute to this project, you must first sign our contributors agreement
Please see http://www.pulse-eight.net/contributors for more information

About

USB CEC Adaptor communication Library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 83.5%
  • C 12.0%
  • C# 3.1%
  • Rust 1.2%
  • Shell 0.2%