Exemple #1
0
 def UnhookKeyboard(self):
   '''Stops watching for keyboard events.'''
   if self.keyboard_hook:
     cpyHook.cUnhook(HookConstants.WH_KEYBOARD_LL)
     self.keyboard_hook = False
Exemple #2
0
 def UnhookKeyboard(self):
     '''Stops watching for keyboard events.'''
     if self.keyboard_hook:
         cpyHook.cUnhook(HookConstants.WH_KEYBOARD_LL)
         self.keyboard_hook = False
Exemple #3
0
 def UnhookMouse(self):
   '''Stops watching for mouse events.'''
   if self.mouse_hook:
     cpyHook.cUnhook(HookConstants.WH_MOUSE_LL)
     self.mouse_hook = False
Exemple #4
0
 def UnhookMouse(self):
     '''Stops watching for mouse events.'''
     if self.mouse_hook:
         cpyHook.cUnhook(HookConstants.WH_MOUSE_LL)
         self.mouse_hook = False