[mythtv] Volume problem with remote...

Jason Ramey webmaster at permutation.org
Sat Feb 22 12:27:04 EST 2003


The irxevent config for ] is "Key braceright CurrentWindow" and [ is
"Key braceleft CurrentWindow". You can find all the key definitions in
irxevent.keys of your LIRC source. Took me a little bit to find those
keys too.

Jason Ramey
webmaster at permutation.org

-----Original Message-----
From: mythtv-dev-bounces at snowman.net
[mailto:mythtv-dev-bounces at snowman.net] On Behalf Of JC
Sent: Saturday, February 22, 2003 6:33 AM
To: mythtv-dev at snowman.net
Subject: [mythtv] Volume problem with remote...


Hi,

Installed tonight's CVS (the latest one around midnight eastern US), and
it works great.  One problem though...  You know how the "[ ] |" keys
are mapped to vol -/+/mute?  Well, I can't get them to work from my
remote.

I modified my .lircrc to add this:

begin
    prog = irxevent
    button = vol+
    config = Key ] CurrentWindow
end

begin
    prog = irxevent
    button = vol-
    config = Key [ CurrentWindow
end

begin
    prog = irxevent
    button = mute
    config = Key | CurrentWindow
end

but every time I press those keys on the remote, I now get the key 5
coming out!  I experimented and tried using different keys like ryu and
those come out fine, but basically any non-alphabetic and non-numeric
keys all generate "5"!  Doesn't matter which button I use, if I set the
"Key" to something besides a-z, 0-9 I get the "5" key out.

So, I hunted down where the []| are defined and modified tv_play.cpp to
use r/y/u instead (I think those are available) and now it works fine
but what a yucky kluge!  Oh, it's a Creative Infra Receiver and matching
remote, FYIW. If anyone has any ideas, let me know and I'll try them.
If not, no real biggie as I'm dumping this for a different remote
(TiVo), but others who have this remote (and a know a few users do) will
be in trouble too.  Maybe we can support 3 duplicate plain alpha keys
for compatibility?

Thanks,
JC


_______________________________________________
mythtv-dev mailing list
mythtv-dev at snowman.net
http://www.snowman.net/mailman/listinfo/mythtv-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3271 bytes
Desc: not available
Url : /pipermail/attachments/20030222/9ad905bb/smime.bin


More information about the mythtv-dev mailing list