Since I'm not versed in python I need a little help figuring out the exact syntax to use if I want to add a new video control on my keyboard without modifying any of the source. Specifically I'd like to add 'z' (ZOOM) and have it send vo_fullscreen to mplayer.

In events.py there's a default_keymap which would be the easy place to add a new binding, simply a line stating K_z : 'ZOOM' and then a bind in the video section telling freevo to send mplayer the string "vo_fullscreen". However I'd much prefer to do this exclusively from the local_conf.py so that I won't have to go back into the source and modify (or more probably, forget about it) next time I emerge freevo on my gentoo box. Is it possible to add keypresses to the hash DEFAULT_KEYMAP from here, or do I have to edit the source?

--
Ole Andre



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to