[Mplayer-cvslog] CVS: main/libvo vo_sdl.c,1.17,1.18

Felix Buenemann atmosfear at users.sourceforge.net
Mon Apr 16 19:19:30 CEST 2001


Update of /cvsroot/mplayer/main/libvo
In directory usw-pr-cvs1:/tmp/cvs-serv28239

Modified Files:
	vo_sdl.c 
Log Message:
changed keyboard input handling to pass key through to mplayer if not special to sdl


Index: vo_sdl.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_sdl.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** vo_sdl.c	2001/04/15 21:08:11	1.17
--- vo_sdl.c	2001/04/16 17:19:28	1.18
***************
*** 69,72 ****
--- 69,75 ----
   *    - added keymapping to toggle OSD ('o' key) 
   *    - added some defines to modify some sdl-out internas (see comments)
+  *
+  *    Felix Buenemann: further changes will be visible through cvs log, don't want
+  *     to update this all the time.
   */
  
***************
*** 650,664 ****
  					mplayer_put_key('q');
  				break;
!                                 case SDLK_o: mplayer_put_key('o');break;
                                  case SDLK_p: mplayer_put_key('p');break;
!                                 case SDLK_SPACE: mplayer_put_key(' ');break;
                                  case SDLK_UP: mplayer_put_key(KEY_UP);break;
                                  case SDLK_DOWN: mplayer_put_key(KEY_DOWN);break;
                                  case SDLK_LEFT: mplayer_put_key(KEY_LEFT);break;
                                  case SDLK_RIGHT: mplayer_put_key(KEY_RIGHT);break;
!                                 case SDLK_PLUS:
                                  case SDLK_KP_PLUS: mplayer_put_key('+');break;
                                  case SDLK_MINUS:
!                                 case SDLK_KP_MINUS: mplayer_put_key('-');break;
                                  }
                                  
--- 653,669 ----
  					mplayer_put_key('q');
  				break;
!                                 /*case SDLK_o: mplayer_put_key('o');break;
                                  case SDLK_p: mplayer_put_key('p');break;
!                                 case SDLK_SPACE: mplayer_put_key(' ');break;*/
                                  case SDLK_UP: mplayer_put_key(KEY_UP);break;
                                  case SDLK_DOWN: mplayer_put_key(KEY_DOWN);break;
                                  case SDLK_LEFT: mplayer_put_key(KEY_LEFT);break;
                                  case SDLK_RIGHT: mplayer_put_key(KEY_RIGHT);break;
!                                 /*case SDLK_PLUS:
                                  case SDLK_KP_PLUS: mplayer_put_key('+');break;
                                  case SDLK_MINUS:
!                                 case SDLK_KP_MINUS: mplayer_put_key('-');break;*/
! 				default:
! 					mplayer_put_key(keypressed);
                                  }
                                  


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list