pidvbip icon indicating copy to clipboard operation
pidvbip copied to clipboard

Question about IR remote

Open pbosgraaf opened this issue 10 years ago • 3 comments

Hi,

I am trying to get usb ir remote to work with pidvbip. I have tested mutiple remotes all with different results, mostly because i can't map keys from the remote to the remote-control-keys from the application.

My question, are you using a specific remote with the application? And if so would yo be willing to share brand/model so i can order the same? :-)

The other way would be to use lirc and use that to map my remote control keys to application specific commands.

Either way, feedback is welcome!

Thanks! P

pbosgraaf avatar Aug 01 '15 14:08 pbosgraaf

I haven't used pidvbip in a while due a bug that causes it to crash, but it should work with any usb hid remote, you just have to add the definition to the swtch in https://github.com/linuxstb/pidvbip/blob/master/input.c#L54

IIRC pidvbip will output the number of the key pressed you can then match this up with the key defines in https://github.com/torvalds/linux/blob/master/include/uapi/linux/input.h#L215 (see your kernel source though as they may be different).

As for the remote I used one like this http://www.ebay.co.uk/itm/USB-PC-Computer-Laptop-Remote-Control-Media-Centre-Controller-Windows-7-XP-Vista-/350950709176.

HTH

mpmc avatar Aug 01 '15 15:08 mpmc

Wow, thanks for the quick reply! Haven't run into any crashes yet and now remote works like a charm after adjusting that file.

Any idea where i can change the mapping of the channel-list popup next/prev-channel button?

Right now when not viewing the channel list, n(next) and p(revious) switch channels by +/-1 But when you open the channel-list n and p become next and previous-page. And d(own) and u(p) become next/prev-channel in the list. I'd like to swap that the np and du behavior

Thanks for the support and development!

pbosgraaf avatar Aug 01 '15 19:08 pbosgraaf

Unfortunately I'm not sure how you'd go about doing that @linuxstb will know, however I believe he has stopped working on pidvbip for the time being.

mpmc avatar Aug 01 '15 23:08 mpmc