[MPlayer-dev-eng] [PATCH] Fix KEY_KPENTER identity on mac osx
Ulion
ulion2002 at gmail.com
Thu Aug 23 06:55:33 CEST 2007
Hello,
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.
Index: libvo/vo_macosx.m
===================================================================
--- libvo/vo_macosx.m (revision 24105)
+++ libvo/vo_macosx.m (working copy)
@@ -913,7 +913,7 @@
case 0x7E: key = KEY_UP; break;
case 0x43: key = '*'; break;
case 0x4B: key = '/'; break;
- case 0x4C: key = KEY_BACKSPACE; break;
+ case 0x4C: key = KEY_KPENTER; break;
case 0x41: key = KEY_KPDEC; break;
case 0x52: key = KEY_KP0; break;
case 0x53: key = KEY_KP1; break;
--
Ulion
More information about the MPlayer-dev-eng
mailing list