[MPlayer-dev-eng] [PATCH] Fix KEY_KPENTER identity on mac osx

Diego Biurrun diego at biurrun.de
Thu Aug 23 19:17:26 CEST 2007


On Thu, Aug 23, 2007 at 12:55:33PM +0800, Ulion wrote:
> 
> I found vo_macosx did not identity the KEY_KPENTER correctly, a little
> fix is here. Specially for dvdnav users, this key is used as 'select'
> action.
> 
> --- libvo/vo_macosx.m   (revision 24105)
> +++ libvo/vo_macosx.m   (working copy)
> @@ -913,7 +913,7 @@
>                 case 0x4B: key = '/'; break;
> -               case 0x4C: key = KEY_BACKSPACE; break;
> +               case 0x4C: key = KEY_KPENTER; break;

Applied as it appeared to be correct after a bit of Googling around.
Shoot me if it is not :)

Diego



More information about the MPlayer-dev-eng mailing list