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

Modified Files:
        event_device.py x11.py 
Log Message:
change to new notifier interface

Index: event_device.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/input/plugins/event_device.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** event_device.py     13 Oct 2004 20:08:25 -0000      1.4
--- event_device.py     4 Nov 2004 17:40:18 -0000       1.5
***************
*** 9,12 ****
--- 9,15 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.5  2004/11/04 17:40:18  dischi
+ # change to new notifier interface
+ #
  # Revision 1.4  2004/10/13 20:08:25  dischi
  # fix handle to match notifier callback
***************
*** 179,183 ****
          if type == 0 :
              # print '  ignoring reset from input'
!             return
          else :
              pass
--- 182,186 ----
          if type == 0 :
              # print '  ignoring reset from input'
!             return True
          else :
              pass
***************
*** 186,190 ****
          if value == 0 :
              # print '  ignoring up'
!             return
          elif value == 1 :
              # set when we want to start paying attention to repeats
--- 189,193 ----
          if value == 0 :
              # print '  ignoring up'
!             return True
          elif value == 1 :
              # set when we want to start paying attention to repeats
***************
*** 193,197 ****
              if now < self.m_ignoreTill :
                  print '  ignoring repeat until %d' % self.m_ignoreTill
!                 return
              else:
                  # we let this one through, but set when we want to start
--- 196,200 ----
              if now < self.m_ignoreTill :
                  print '  ignoring repeat until %d' % self.m_ignoreTill
!                 return True
              else:
                  # we let this one through, but set when we want to start
***************
*** 206,210 ****
          if not key :
              print ' UNMAPPED KEY'
!             return
          else:
              pass
--- 209,213 ----
          if not key :
              print ' UNMAPPED KEY'
!             return True
          else:
              pass

Index: x11.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/input/plugins/x11.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** x11.py      7 Oct 2004 16:05:28 -0000       1.3
--- x11.py      4 Nov 2004 17:40:18 -0000       1.4
***************
*** 75,76 ****
--- 75,77 ----
          if keycode in self.keymap:
              self.post_key( self.keymap[ keycode ] )
+         return True



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to