[vdr] [Patch] Make RGYB buttons customizeable

Oliver Schinagl oliver at schinagl.nl
Thu Sep 16 04:05:08 CEST 2010


Hey all,

Ever had the trouble that your remote's color navigation key weren't the
same as VDR's? Well I wrote this patch the past 4 hours which lets you
configure them.

By doing so, the order of the buttons in the menu changes depending on
whatever you tell it to. So finally that remote can match whatever is
displayed on screen.

This only works for the classic and st-tng  skins, as those are supplied
with VDR. The Skin needs to support this feature. If there is no skin
support, the setting simply gets ignored by that skin. Since only the
order of the buttons in the skin are being changed any plugin
configuration will be independent from this change. What I mean is that,
when a plugin has configured blue to take you straight to the photo
gallery, the blue button will still do this, no matter where it is on
the remote. If the plugin however used the blue key to fast forward,
because it is the right most key, and thus made sense logically there,
it will no longer when you move the keys around. Practically, this will
boil down to a handful of plugins depending on location which imo is a
little weird anyway :)

Also, I patched it on a Gentoo box using the latest 1.6 ebuild they have
so line numbers may be a little off in the patch due to various patches
Gentoo may apply. It's the only dev. box for VDR I have so forgive me on
that.

I'm looking forward to the review :)

Oliver

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdr-1.6.0-configurable-keys.diff
Type: text/x-patch
Size: 8504 bytes
Desc: not available
URL: <http://www.linuxtv.org/pipermail/vdr/attachments/20100916/ea9b8616/attachment.bin>


More information about the vdr mailing list