Conflicting key bindings

Toby Murray <[email protected]> Sun, 17 May 2009 02:31:24 -0500
Newsgroups gmane.comp.video.xine.user
Message-ID <[email protected]>
I was extremely unhappy with the internal MythTV DVD player (it
crashes out to the menu with a read error if you seek too much) so I
decided to try and get MythTV to call xine as it's DVD player. I got
it all working perfectly except for one annoyance. I would like to
bind Left/Right to two things:
1) seek +/- 60 sec (this is the default binding I believe)
2) menu navigate left/right

I have tried setting this configuration by hand in the ~/.xine/keymap
file but of course it complains that they conflict with each other.
But in reality they don't. Seeking doesn't make sense in a menu and
menu navigation actions are obviously not applicable while in the
middle of a playing a stream so I don't understand why I shouldn't be
able to overload these keys. I understand this might not be trivial to
do in code but it would be a nice feature. I envision defining several
different intput contexts (global, playback, menu and setup perhaps)
to which actions in the keymap file can be assigned. As long as keys
don't conflict within a given input context, everything is fine. In my
case, the seek actions would be in the "playback" context and the menu
navigation actions would be in the "menu" context so they would not
conflict with each other.

The reason I can't just use another key or a modifier is that I'm
using a wiimote as the remote control for my mythbox so I only have a
few buttons to work with. And now that I think about it, it might be
nice to bind Up/Down to menu navigation and volume control as well...

Toby

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects