Update of /cvsroot/freevo/freevo/src/input
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22125/src/input

Modified Files:
        eventmap.py interface.py 
Log Message:
adjust to new event interface

Index: interface.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/input/interface.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** interface.py        16 Jul 2005 08:41:12 -0000      1.4
--- interface.py        16 Jul 2005 09:48:22 -0000      1.5
***************
*** 84,92 ****
  
          log.warning('no event mapping for key %s in %s' % (key, _mapping))
- 
- 
-     def post_event(self, event):
-         """
-         Send an event to the eventhandler.
-         """
-         self._eventhandler.post(event)
--- 84,85 ----

Index: eventmap.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/input/eventmap.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** eventmap.py 27 Sep 2004 18:40:34 -0000      1.1
--- eventmap.py 16 Jul 2005 09:48:22 -0000      1.2
***************
*** 68,75 ****
      'CH+'       : TV_CHANNEL_UP,
      'CH-'       : TV_CHANNEL_DOWN,
!     'LEFT'      : Event(SEEK, arg=-60),
!     'RIGHT'     : Event(SEEK, arg=60),
!     'REW'       : Event(SEEK, arg=-10),
!     'FFWD'      : Event(SEEK, arg=10),
      'DISPLAY'   : TOGGLE_OSD,
      '0'         : INPUT_0,
--- 68,75 ----
      'CH+'       : TV_CHANNEL_UP,
      'CH-'       : TV_CHANNEL_DOWN,
!     'LEFT'      : Event(SEEK, -60),
!     'RIGHT'     : Event(SEEK,  60),
!     'REW'       : Event(SEEK, -10),
!     'FFWD'      : Event(SEEK,  10),
      'DISPLAY'   : TOGGLE_OSD,
      '0'         : INPUT_0,
***************
*** 94,101 ****
      'CH+'       : PLAYLIST_PREV,
      'CH-'       : PLAYLIST_NEXT,
!     'LEFT'      : Event(SEEK, arg=-60),
!     'RIGHT'     : Event(SEEK, arg=60),
!     'REW'       : Event(SEEK, arg=-10),
!     'FFWD'      : Event(SEEK, arg=10),
      'MENU'      : MENU,
      'DISPLAY'   : TOGGLE_OSD,
--- 94,101 ----
      'CH+'       : PLAYLIST_PREV,
      'CH-'       : PLAYLIST_NEXT,
!     'LEFT'      : Event(SEEK, -60),
!     'RIGHT'     : Event(SEEK,  60),
!     'REW'       : Event(SEEK, -10),
!     'FFWD'      : Event(SEEK,  10),
      'MENU'      : MENU,
      'DISPLAY'   : TOGGLE_OSD,
***************
*** 117,122 ****
      'DISPLAY'   : TOGGLE_OSD,
      'SUBTITLE'  : VIDEO_NEXT_SUBTITLE,
!     'REW'       : Event(SEEK, arg=-10),
!     'FFWD'      : Event(SEEK, arg=10),
      'GUIDE'     : DVDNAV_TITLEMENU,
      'MENU'      : DVDNAV_MENU,
--- 117,122 ----
      'DISPLAY'   : TOGGLE_OSD,
      'SUBTITLE'  : VIDEO_NEXT_SUBTITLE,
!     'REW'       : Event(SEEK, -10),
!     'FFWD'      : Event(SEEK,  10),
      'GUIDE'     : DVDNAV_TITLEMENU,
      'MENU'      : DVDNAV_MENU,
***************
*** 132,139 ****
      'STOP'      : STOP,
      'EXIT'      : STOP,
!     'LEFT'      : Event(SEEK, arg=-60),
!     'RIGHT'     : Event(SEEK, arg=60),
!     'REW'       : Event(SEEK, arg=-10),
!     'FFWD'      : Event(SEEK, arg=10),
      'MENU'      : MENU,
      'DISPLAY'   : TOGGLE_OSD,
--- 132,139 ----
      'STOP'      : STOP,
      'EXIT'      : STOP,
!     'LEFT'      : Event(SEEK, -60),
!     'RIGHT'     : Event(SEEK,  60),
!     'REW'       : Event(SEEK, -10),
!     'FFWD'      : Event(SEEK,  10),
      'MENU'      : MENU,
      'DISPLAY'   : TOGGLE_OSD,
***************
*** 157,164 ****
      'PLAY'      : PLAY,
      'PAUSE'     : PAUSE,
!     'LEFT'      : Event(SEEK, arg=-60),
!     'RIGHT'     : Event(SEEK, arg=60),
!     'REW'       : Event(SEEK, arg=-10),
!     'FFWD'      : Event(SEEK, arg=10),
      'UP'        : PLAYLIST_PREV,
      'DOWN'      : PLAYLIST_NEXT,
--- 157,164 ----
      'PLAY'      : PLAY,
      'PAUSE'     : PAUSE,
!     'LEFT'      : Event(SEEK, -60),
!     'RIGHT'     : Event(SEEK,  60),
!     'REW'       : Event(SEEK, -10),
!     'FFWD'      : Event(SEEK,  10),
      'UP'        : PLAYLIST_PREV,
      'DOWN'      : PLAYLIST_NEXT,
***************
*** 181,186 ****
      'PLAY'      : PLAY,
      'PAUSE'     : PAUSE,
!     'LEFT'      : Event(IMAGE_ROTATE, arg='left'),
!     'RIGHT'     : Event(IMAGE_ROTATE, arg='right'),
      '1'         : IMAGE_ZOOM_GRID1,
      '2'         : IMAGE_ZOOM_GRID2,
--- 181,186 ----
      'PLAY'      : PLAY,
      'PAUSE'     : PAUSE,
!     'LEFT'      : Event(IMAGE_ROTATE, 'left'),
!     'RIGHT'     : Event(IMAGE_ROTATE, 'right'),
      '1'         : IMAGE_ZOOM_GRID1,
      '2'         : IMAGE_ZOOM_GRID2,
***************
*** 206,213 ****
      'PLAY'      : PLAY,
      'PAUSE'     : PAUSE,
!     'LEFT'      : Event(IMAGE_MOVE, arg=(-10,  0)),
!     'RIGHT'     : Event(IMAGE_MOVE, arg=( 10,  0)),
!     'UP'        : Event(IMAGE_MOVE, arg=(  0,-10)),
!     'DOWN'      : Event(IMAGE_MOVE, arg=(  0, 10)),
      '1'         : IMAGE_ZOOM_GRID1,
      '2'         : IMAGE_ZOOM_GRID2,
--- 206,213 ----
      'PLAY'      : PLAY,
      'PAUSE'     : PAUSE,
!     'LEFT'      : Event(IMAGE_MOVE, -10,   0),
!     'RIGHT'     : Event(IMAGE_MOVE,  10,   0),
!     'UP'        : Event(IMAGE_MOVE,   0, -10),
!     'DOWN'      : Event(IMAGE_MOVE,   0,  10),
      '1'         : IMAGE_ZOOM_GRID1,
      '2'         : IMAGE_ZOOM_GRID2,



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to