Pulse-Eight / libcec

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

Add commandHandler callback. #617

Open gmsoft-tuxicoman opened 1 year ago

gmsoft-tuxicoman commented 1 year 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 1 year ago

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