Pulse-Eight / libcec

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

Sending CEC commands over USB from laptop to an HDMI device as if they came from a TV #559

Open brgl opened 3 years ago

brgl commented 3 years ago

Hi! I would have started a discussion because this isn't really an issue but discussions are disabled on this repo. :(

I have a Pulse Eight adapter and a screen I use for testing of our HDMI dongle that doesn't support CEC. Is it possible to use libcec to send commands to the dongle as if they were sent from a TV remote? Let's call it HDMI spoofing? I couldn't find any info on that but I may be not googling the right phrases.

foxy82 commented 2 years ago

What kind of command are you trying to send? I'm at the early days of looking into capturing the TV remote arrow keys and then sending them to devices via TCP/IP.