[Mplayer-cvslog] CVS: main/input input.c,1.69,1.70
Alban Bedel CVS
albeu at mplayerhq.hu
Fri Apr 4 17:04:28 CEST 2003
Update of /cvsroot/mplayer/main/input
In directory mail:/var/tmp.root/cvs-serv16557/input
Modified Files:
input.c
Log Message:
Support for "internet" or "multimedia" keyboards in X11.
Patch from Jason Tackaberry <tack at auc dot ca>.
Index: input.c
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- input.c 29 Mar 2003 21:52:08 -0000 1.69
+++ input.c 4 Apr 2003 15:04:25 -0000 1.70
@@ -182,6 +182,12 @@
{ JOY_BTN7, "JOY_BTN7" },
{ JOY_BTN8, "JOY_BTN8" },
{ JOY_BTN9, "JOY_BTN9" },
+
+ { KEY_XF86_PAUSE, "XF86_PAUSE" },
+ { KEY_XF86_STOP, "XF86_STOP" },
+ { KEY_XF86_PREV, "XF86_PREV" },
+ { KEY_XF86_NEXT, "XF86_NEXT" },
+
{ 0, NULL }
};
@@ -284,6 +290,12 @@
{ { 's', 0 }, "screenshot" },
{ { 'w', 0 }, "panscan -0.1" },
{ { 'e', 0 }, "panscan +0.1" },
+
+ { { KEY_XF86_PAUSE, 0 }, "pause" },
+ { { KEY_XF86_STOP, 0 }, "quit" },
+ { { KEY_XF86_PREV, 0 }, "seek -60" },
+ { { KEY_XF86_NEXT, 0 }, "seek +60" },
+
{ { 0 }, NULL }
};
More information about the MPlayer-cvslog
mailing list