[mythtv] Hot keys for MCE2 Remotes
OpenMedia Support
support at openmedia.co.nz
Sat May 6 23:33:41 UTC 2006
Hi Robin
Robin Gilks wrote:
>>We have been supplying our customers with standard MCE2 remotes and they
>>wanted all of the additional hot keys enabling, like "My Music", "My
>>Pictures" and "Guide" etc.
>>
>>Now whilst the meaning of these can be somewhat subjective, I've use the
>>jump system to map some custom key combinations for these features, and
>>then map them onto the remote with lirc.
>>
>>Now what I'm proposing is a set of standard accelerators for these
>>particular features, and then it is relatively simple to program remote
>>hot keys. Any standard MythTV install would have these particular
>>accelerators pre-defined.
>>
>>A sample set can be found in the support pages of our website at
>>http://openmedia.co.nz/openmedia/content/view/27/59/
>>
>>So do you think this could be of use?
>>
>>Steve
>>
>>
>>
>
>Can you publish the lircrc codes that link to the keyboard bindings please?
>
>Note that here in NZ, the retail MCE remote that comes with the Hauppagge
>cards is a bit different to most other countries. Also, the 'Enter' and
>'Cancel' keys don't appear on most pvr150 remotes so the lircd file for
>the mce2 driver presumably has a couple of extra extries as well to the
>one on the lirc website.
>
>
There are two very different remotes shipped with the PVR150 units.
Older models ship with the Hauppauge remote, newer units with an MCE2
compatible remote made by SMK. The LIRC settings are very different. All
of these are based on the MCE2 remote shown at
http://openmedia.co.nz/openmedia/content/view/27/59/
The key file changes i've made are
1. /etc/lirc/lircd.conf has the following two extra codes to enable the
currently dead keys * and #
Hash 0x00007be3
Star 0x0000fbe2
2. The .lircrc file contains the following extra bits. I enabled * and #
as well as changing the mapping of the Windows Key and Guide keys.
# Keys for the top row of the MCE remote
begin
prog = irxevent
button = TV
config = Key ctrl-alt-T CurrentWindow
end
begin
prog = irxevent
button = Music
config = Key ctrl-alt-M CurrentWindow
end
begin
prog = irxevent
button = Pictures
config = Key ctrl-alt-P CurrentWindow
end
begin
prog = irxevent
button = Videos
config = Key ctrl-alt-V CurrentWindow
end
# Keys for the other navigation items
begin
prog = irxevent
button = RecTV
config = Key ctrl-alt-R CurrentWindow
end
begin
prog = irxevent
button = Guide
config = Key ctrl-alt-G CurrentWindow
end
begin
prog = irxevent
button = LiveTV
config = Key ctrl-alt-T CurrentWindow
end
begin
prog = irxevent
button = DVD
config = Key M CurrentWindow
end
# Map Enter to return so we can exit menus
begin
prog = irxevent
button = Enter
config = Key Return CurrentWindow
end
# This is the "Windows Logo" button
# Map it to the main menu
begin
prog = irxevent
button = Home
config = Key ctrl-alt-Return CurrentWindow
end
# Map the two remaining keys
# Map Star to commercial skip
begin
prog = irxevent
button = Star
config = Key Z CurrentWindow
end
# Map Hash to Y to change Tuners
begin
prog = irxevent
button = Hash
config = Key Y CurrentWindow
end
--
Technical Support - OpenMedia Limited
email - support at openmedia.co.nz
sales - sales at openmedia.co.nz
website - http://www.openmedia.co.nz
More information about the mythtv-dev
mailing list