[MPlayer-dev-eng] [PATCH]On Apple Remote (Snow Leopard)

Adrian Stutz adrian at sttz.ch
Wed Dec 16 12:43:35 CET 2009


2009/12/12 Xuebin Wu <bangbangbear at gmail.com>

> Hi,
>
> I just got an apple remote, the newest version, which has 7 keys.
> However it cannot work with MPlayer. I found that the message cookies
> are different from what defined in input/ar.c. Here is an update,
> which is working on my laptop.
>
> The first part is the cookie table, named ar_codes_snowleopard[]. The
> second part of this patch is to use it on my laptop. However, I don't
> have the old version apple remote, and I don't know the reason why the
> message cookies are changed. Maybe it is because the new version apple
> remote, or the new version MAC OSX.
>

The cookies changed for the old apple remote as well. Seems more like Apple
rewrote the handling code in Leopard.

The patch looks OK to me, except that it's maybe better to use the more
specific AppKit version number VLC uses (1038.13) though I wasn't able to
figure out if that's the version of a developer preview or an official
update.

Greetings
Adrian



More information about the MPlayer-dev-eng mailing list