Pulse-Eight / libcec

USB CEC Adapter communication Library http://libcec.pulse-eight.com/
Other
722 stars 291 forks source link

Add commandHandler callback. #617

Open gmsoft-tuxicoman opened 2 years ago

gmsoft-tuxicoman commented 2 years ago

Add a commandHandler callback to allow external libs to handle CEC commands themselves. If the commandHandler returns true, it means that the command was handled by the callback and no further processing should be taken by libcec.

This allow the implementation of an ARC device or other device that would do exotic things.

pzich commented 2 years ago

This sounds really useful! What's involved in getting this merged? @malard