Changeset 2139
- Timestamp:
- 06/17/08 02:31:04 (5 months ago)
- Location:
- trunk/source
- Files:
-
- 3 modified
-
appModules/_default.py (modified) (1 diff)
-
appModules/_default_desktop.kbd (modified) (1 diff)
-
mouseHandler.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/appModules/_default.py
r2135 r2139 72 72 speech.speakSpelling(info._get_text()) 73 73 74 def script_leftMouseClick(self,keyPress): 75 speech.speakMessage(_("left click")) 76 winUser.mouse_event(winUser.MOUSEEVENTF_LEFTDOWN,0,0,None,None) 77 winUser.mouse_event(winUser.MOUSEEVENTF_LEFTUP,0,0,None,None) 78 script_leftMouseClick.__doc__=_("Clicks the left mouse button once where ever it may be at the time.") 79 80 def script_rightMouseClick(self,keyPress): 81 speech.speakMessage(_("right click")) 82 winUser.mouse_event(winUser.MOUSEEVENTF_RIGHTDOWN,0,0,None,None) 83 winUser.mouse_event(winUser.MOUSEEVENTF_RIGHTUP,0,0,None,None) 84 script_rightMouseClick.__doc__=_("Clicks the right mouse button once where ever it may be at the time.") 85 86 74 87 def script_reportCurrentSelection(self,keyPress): 75 88 obj=api.getFocusObject() -
trunk/source/appModules/_default_desktop.kbd
r2135 r2139 78 78 Control+NVDA+r=revertToSavedConfiguration 79 79 Control+NVDA+z=activatePythonConsole 80 extendedDivide=leftMouseClick 81 multiply=rightMouseClick -
trunk/source/mouseHandler.py
r2135 r2139 69 69 def internal_mouseEvent(msg,x,y,injected): 70 70 global mouseMoved, curMousePos 71 if injected: 72 return True 71 73 if not config.conf['mouse']['enableMouseTracking']: 72 74 return True

NVDA is supported by