CVS change done by Reynaldo H. Verdejo CVS Update of /cvsroot/mplayer/main/help In directory mail:/var2/tmp/cvs-serv9465/help Modified Files: help_mp-en.h Log Message: INPUT section created, added messages from input/input.c and input/joystick.c Index: help_mp-en.h =================================================================== RCS file: /cvsroot/mplayer/main/help/help_mp-en.h,v retrieving revision 1.191 retrieving revision 1.192 diff -u -r1.191 -r1.192 --- help_mp-en.h 20 Oct 2005 00:08:09 -0000 1.191 +++ help_mp-en.h 25 Oct 2005 18:47:20 -0000 1.192 @@ -1101,3 +1101,41 @@ #define MSGTR_AF_LADSPA_ErrControlBelow "%s: Input control #%d is below lower boundary of %0.4f.\n" #define MSGTR_AF_LADSPA_ErrControlAbove "%s: Input control #%d is above upper boundary of %0.4f.\n" +// ========================== INPUT ========================================= + +// joystick.c + +#define MSGTR_INPUT_JOYSTICK_Opening "Opening joystick device %s\n" +#define MSGTR_INPUT_JOYSTICK_CantOpen "Can't open joystick device %s : %s\n" +#define MSGTR_INPUT_JOYSTICK_ErrReading "Error while reading joystick device : %s\n" +#define MSGTR_INPUT_JOYSTICK_LoosingBytes "Joystick : we loose %d bytes of data\n" +#define MSGTR_INPUT_JOYSTICK_WarnLostSync "Joystick : warning init event, we have lost sync with driver\n" +#define MSGTR_INPUT_JOYSTICK_WarnUnknownEvent "Joystick warning unknown event type %d\n" + +// input.c + +#define MSGTR_INPUT_INPUT_ErrCantRegister2ManyCmdFds "Too many command fds, unable to register fd %d.\n" +#define MSGTR_INPUT_INPUT_ErrCantRegister2ManyKeyFds "Too many key fds, unable to register fd %d.\n" +#define MSGTR_INPUT_INPUT_ErrArgMustBeInt "Command %s: argument %d isn't an integer.\n" +#define MSGTR_INPUT_INPUT_ErrArgMustBeFloat "Command %s: argument %d isn't a float.\n" +#define MSGTR_INPUT_INPUT_ErrUnterminatedArg "Command %s: argument %d is unterminated.\n" +#define MSGTR_INPUT_INPUT_ErrUnknownArg "Unknown argument %d\n" +#define MSGTR_INPUT_INPUT_Err2FewArgs "Command %s requires at least %d arguments, we found only %d so far.\n" +#define MSGTR_INPUT_INPUT_ErrReadingCmdFd "Error while reading cmd fd %d: %s\n" +#define MSGTR_INPUT_INPUT_ErrCmdBufferFullDroppingContent "Cmd buffer of fd %d is full: dropping content\n" +#define MSGTR_INPUT_INPUT_ErrInvalidCommandForKey "Invalid command for bound key %s" +#define MSGTR_INPUT_INPUT_ErrSelect "Select error: %s\n" +#define MSGTR_INPUT_INPUT_ErrOnKeyInFd "Error on key input fd %d\n" +#define MSGTR_INPUT_INPUT_ErrDeadKeyOnFd "Dead key input on fd %d\n" +#define MSGTR_INPUT_INPUT_Err2ManyKeyDowns "Too many key down events at the same time\n" +#define MSGTR_INPUT_INPUT_ErrOnCmdFd "Error on cmd fd %d\n" +#define MSGTR_INPUT_INPUT_ErrReadingInputConfig "Error while reading input config file %s: %s\n" +#define MSGTR_INPUT_INPUT_ErrUnknownKey "Unknown key '%s'\n" +#define MSGTR_INPUT_INPUT_ErrUnfinishedBinding "Unfinished binding %s\n" +#define MSGTR_INPUT_INPUT_ErrBuffer2SmallForKeyName "Buffer is too small for this key name: %s\n" +#define MSGTR_INPUT_INPUT_ErrNoCmdForKey "No command found for key %s" +#define MSGTR_INPUT_INPUT_ErrBuffer2SmallForCmd "Buffer is too small for command %s\n" +#define MSGTR_INPUT_INPUT_ErrWhyHere "What are we doing here?\n" +#define MSGTR_INPUT_INPUT_ErrCantInitJoystick "Can't init input joystick\n" +#define MSGTR_INPUT_INPUT_ErrCantStatFile "Can't stat %s: %s\n" +#define MSGTR_INPUT_INPUT_ErrCantOpenFile "Can't open %s: %s\n"
On Tue, 25 Oct 2005 20:47:22 +0200 (CEST) syncmail@mplayerhq.hu (Reynaldo H. Verdejo CVS) wrote:
CVS change done by Reynaldo H. Verdejo CVS
Update of /cvsroot/mplayer/main/help In directory mail:/var2/tmp/cvs-serv9465/help
Modified Files: help_mp-en.h Log Message: INPUT section created, added messages from input/input.c and input/joystick.c
+// joystick.c + +#define MSGTR_INPUT_JOYSTICK_Opening "Opening joystick device %s\n" +#define MSGTR_INPUT_JOYSTICK_CantOpen "Can't open joystick device %s : %s\n"
in all other messages there is no space before ':', so the above would be: "Can't open joystick device %s: %s\n" am i right? in source files there was the space, but maybe now could we set like the others? the same for the following:
+#define MSGTR_INPUT_JOYSTICK_ErrReading "Error while reading joystick device : %s\n" +#define MSGTR_INPUT_JOYSTICK_LoosingBytes "Joystick : we loose %d bytes of data\n" +#define MSGTR_INPUT_JOYSTICK_WarnLostSync "Joystick : warning init event, we have lost sync with driver\n"
On Wed, Nov 02, 2005 at 12:01:11PM +0100, Paul TT wrote:
On Tue, 25 Oct 2005 20:47:22 +0200 (CEST) syncmail@mplayerhq.hu (Reynaldo H. Verdejo CVS) wrote:
+// joystick.c + +#define MSGTR_INPUT_JOYSTICK_Opening "Opening joystick device %s\n" +#define MSGTR_INPUT_JOYSTICK_CantOpen "Can't open joystick device %s : %s\n"
in all other messages there is no space before ':', so the above would be: "Can't open joystick device %s: %s\n"
am i right? in source files there was the space, but maybe now could we set like the others?
Yes. Feel free to fix. Diego
On Tue, 25 Oct 2005 20:47:22 +0200 (CEST) syncmail@mplayerhq.hu (Reynaldo H. Verdejo CVS) wrote:
CVS change done by Reynaldo H. Verdejo CVS
some hints, MHO, to be discussed.... :-) ...
+#define MSGTR_INPUT_JOYSTICK_WarnUnknownEvent "Joystick warning unknown event type %d\n"
"Joystick: Warning: unknown event type %d\n"
+#define MSGTR_INPUT_INPUT_ErrNoCmdForKey "No command found for key %s"
is this not the same of: #define MSGTR_NoBindFound "No bind found for key '%s'" (only a doubt, i didn't check source files to see if it's the same) ptt
On Tue, 25 Oct 2005 20:47:22 +0200 (CEST) syncmail@mplayerhq.hu (Reynaldo H. Verdejo CVS) wrote:
+#define MSGTR_INPUT_INPUT_ErrCantOpenFile "Can't open %s: %s\n"
a message like this is already there: #define MSGTR_CantOpenFileError "Can't open '%s': %s\n" .... ptt
Hi, guys. Could somebody explain what means 'cmd fd' and 'key fd', please? Thanks Jiri
+// input.c + +#define MSGTR_INPUT_INPUT_ErrCantRegister2ManyCmdFds "Too many command fds, unable to register fd %d.\n" +#define MSGTR_INPUT_INPUT_ErrCantRegister2ManyKeyFds "Too many key fds, unable to register fd %d.\n" ... +#define MSGTR_INPUT_INPUT_ErrReadingCmdFd "Error while reading cmd fd %d: %s\n" +#define MSGTR_INPUT_INPUT_ErrCmdBufferFullDroppingContent "Cmd buffer of fd %d is full: dropping content\n" ... #define MSGTR_INPUT_INPUT_ErrOnKeyInFd "Error on key input fd %d\n" +#define MSGTR_INPUT_INPUT_ErrDeadKeyOnFd "Dead key input on fd %d\n" +#define MSGTR_INPUT_INPUT_ErrOnCmdFd "Error on cmd fd %d\n"
On Tue, Nov 08, 2005 at 07:19:56AM +0100, Ji?í Heryán wrote:
Hi, guys.
Could somebody explain what means 'cmd fd' and 'key fd', please?
Command file descriptor (probably for slave mode) and key file descriptor (for reading keypresses, i.e. non-slavemode input). Rich
participants (5)
-
Diego Biurrun -
Jiří Heryán -
Paul TT -
Rich Felker -
syncmail@mplayerhq.hu