[MPlayer-dev-eng] [PATCH] Apple Remote support

Ulion ulion2002 at gmail.com
Wed Aug 15 10:38:56 CEST 2007


2007/8/15, Guillaume POIRIER <poirierg at gmail.com>:
> Hi,
>
> On 8/15/07, Ulion <ulion2002 at gmail.com> wrote:
>
>
> > another question, if I has some new feature to added into this Apple
> > Remote code some day, should I make a new thread for it or reply to
> > this thread?
>
> Create a new thread.

ok, I got it.

>
> I have a question: has the behaviour of all Apple remote buttons
> changed since the original patch? I'm asking this because no doc has
> been added with regards to which button does what. Do you think you
> could add this?
>

default buttons' behavior was hardcode defined in file input/input.c:
  { { AR_PLAY, 0}, "pause" },
  { { AR_PLAY_HOLD, 0}, "quit" },
  { { AR_NEXT, 0 }, "seek 30" },
  { { AR_NEXT_HOLD, 0 }, "seek 120" },
  { { AR_PREV, 0 }, "seek -10" },
  { { AR_PREV_HOLD, 0 }, "seek -120" },
  { { AR_MENU, 0 }, "osd" },
  { { AR_MENU_HOLD, 0 }, "mute" },
  { { AR_VUP, 0 }, "volume 1"},
  { { AR_VDOWN, 0 }, "volume -1"},
it not changed since the patch first released.

in default input config file etc/input.conf also have the same default
definitions:
AR_PLAY pause
AR_PLAY_HOLD quit
AR_NEXT seek 30
AR_NEXT_HOLD seek 120
AR_PREV seek -10
AR_PREV_HOLD seek -120
AR_MENU osd
AR_MENU_HOLD mute
AR_VUP volume 1
AR_VDOWN volume -1

do we need to update the docs? anyway, I'm not a good doc writer, hope
somebody can do this.

-- 
Ulion



More information about the MPlayer-dev-eng mailing list