chbmuc / cec

cec.go - a golang binding for libcec
MIT License
40 stars 21 forks source link

Add the ability to specify what device type to use #1

Closed robbiet480 closed 9 years ago

robbiet480 commented 9 years ago

Instead of forcing recording device, it would be great to be able to specify which device type to use, as I want to identify as a Tuner instead of a Recording device. I would do the change myself, but the for loop that clears any set deviceTypes looked weird, so I figured i'd open an issue first.

robbiet480 commented 9 years ago

I went ahead and added this in my fork