[MPlayer-dev-eng] [PATCH] input section to TV teletext

Vladimir Voroshilov voroshil at gmail.com
Mon Jun 11 11:59:47 CEST 2007


2007/6/11, Nico Sabbi <nsabbi at email.it>:
> Ötvös Attila wrote:
>
> >Hi All!
> >
> >This patch use input section to TV teletext function:
> >
> >Sample input.conf
> >RIGHT {teletext} teletext_page 1
> >LEFT {teletext} teletext_page -1
> >DOWN {teletext} teletext_page -10
> >UP {teletext} teletext_page 10
> >KP1 {teletext} teletext_add_dec 1
> >KP2 {teletext} teletext_add_dec 2
> >KP3 {teletext} teletext_add_dec 3
> >KP4 {teletext} teletext_add_dec 4
> >KP5 {teletext} teletext_add_dec 5
> >KP6 {teletext} teletext_add_dec 6
> >KP7 {teletext} teletext_add_dec 7
> >KP8 {teletext} teletext_add_dec 8
> >KP9 {teletext} teletext_add_dec 9
> >KP0 {teletext} teletext_add_dec 0
> >- {teletext} teletext_add_dec -
> >
> >Best regards!
> >
> >Attila
> >
> >
>
> KP* are already assigned to dvdnav navigation. They should be made
> contextual
> (patch welcome)
Did you see magic "{teletext}" in key definition ?
this is recently added feature: input keys can be splitted in
"sections" (like "dvd","tv","teletext", etc) and each section can have
it's own key set.
current section is selecting by call to mp_input_set_section(char*
section_name);

there is "default" section for backward compatibility which all keys
withous "{}" belongs to.

Search m/l for "one input key more commands"
Feature was added  in r23497.



-- 
Regards,
Vladimir Voroshilov     mailto:voroshil at gmail.com
JID: voroshil at gmail.com, voroshil at jabber.ru
ICQ: 95587719



More information about the MPlayer-dev-eng mailing list