"Robert Enloe" wrote:
> I tried copying straight from the FAQ # 21 the follwing EVENTS to my
> local_config.py (with the key modifications) and neither of my new key
> binding work:
> EVENTS['video']['t'] = Event(VIDEO_SEND_MPLAYER_CMD, arg='seek -600')
> EVENTS['video']['y'] = Event(VIDEO_SEND_MPLAYER_CMD, arg='seek 600')
>
> Is this not the correct way to add key bindings?

Yes and no. You can only bind keys converted from sdl right now (only
the keys listed in src/osd.py). I will fix that later.

> Also, how do I clear ALL the default Freevo key bindings, and start over?  I
> have looked through the events.py file, but I don't think this is actually
> where "keys" are binded to the program If I am right in this, where are all
> the keybindings set in a default freevo install?

The binding takes place in freevo_config.py. EVENTS=.... When you set
EVENTS['video'] = {}, all bindings for video are lost.



Dischi

-- 
Disclaimer: the above is the author's personal opinion and is not the
opinion or policy of his employer or of the little green men that have
been following him all day.


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to