3 new commits in EnhancedTouchGestures:
https://bitbucket.org/nvdaaddonteam/enhancedtouchgestures/commits/9a59d457608f/
Changeset: 9a59d457608f
Branch: None
User: josephsl
Date: 2016-11-26 17:43:32+00:00
Summary: Enhanced Touch Gestures 16.12, enhancements to web touch mode
including support for MS Edge and others.
Signed-off-by: Joseph Lee <joseph.lee22590@xxxxxxxxx>
Affected #: 2 files
diff --git a/buildVars.py b/buildVars.py
index fdfb26b..a7c24dc 100755
--- a/buildVars.py
+++ b/buildVars.py
@@ -20,7 +20,7 @@ addon_info = {
"addon_description" : _("""A suite of additional touch commands,
including tabbing and help commands.
Requires a touch-enabled computer with Windows 8.0 or later with NVDA
2012.3 or later installed."""),
# version
- "addon_version" : "16.06",
+ "addon_version" : "16.12",
# Author(s)
"addon_author" : "Joseph Lee <joseph.lee22590@xxxxxxxxx>",
# URL for the add-on documentation support
diff --git a/readme.md b/readme.md
index c297f57..1453f28 100755
--- a/readme.md
+++ b/readme.md
@@ -1,21 +1,21 @@
# Enhanced Touchscreen Gestures #
* Author: Joseph Lee
-* Version: [0.5][1]
+* Download [stable version][1]
This add-on provides additional touchscreen gestures for NVDA. It also
provides a set of gestures for easier browse mode navigation.
-Note that you need NVDA 2012.3 or later installed on a touchscreen computer
running Windows 8 or later.
+Note that you need NVDA 2012.3 or later installed on a touchscreen computer
running Windows 8 or later. For best experience, Windows 8.1 or 10 with NVDA
2016.3 or later is recommended.
-## Commands ##
+## Commands
-### Available everywhere ###
+### Available everywhere
* 4 finger double tap: toggle input help mode.
* Tap and hold: performs right click at the object under your finger.
* Four finger flick right: toggle touch keyboard (usually enables it).
-### Object mode ###
+### Object mode
* 3 finger flick down: read current window.
* 3 finger flick left: report object with focus.
@@ -23,7 +23,7 @@ Note that you need NVDA 2012.3 or later installed on a
touchscreen computer runn
* 4 finger flick up: report title of the current window.
* 4 finger flick down: report status bar text.
-## Web touch mode ##
+## Web touch mode
This touch mode, available in browse mode, allows you to navigate the document
by selected element. To switch to web mode, from browse mode documents, perform
3 finger tap. From this mode, flicking up or down with one finger cycles
through available element navigation modes, while flicking right or left with
one finger moves to next or previous chosen element, respectively. Once you
move away from browse mode documents, object touch mode is used.
@@ -31,12 +31,21 @@ This touch mode, available in browse mode, allows you to
navigate the document b
You can use this mode to quickly change synthesizer settings such as choosing
a voice and changing volume. In this mode, use two finger flick left or right
to move between synth settings and use two finger flick up and down gestures to
change values. This gestures mirrors that of synth settings ring commands on
the keyboard.
-## Coordinate announcement beep ##
+## Coordinate announcement beep
If you've enabled play mouse coordinates setting in mouse settings, you'll
hear beeps to indicate current screen coordinate when you invoke touch
exploration gestures.
-## Screen orientation ##
+## Screen orientation
NVDA can announce screen orientation changes. Note that NvDA cannot
distinguish between primary and secondary orientation at this time.
+##Version 16.12
+
+* Web touch mode works in Microsoft Edge, Microsoft Word and others where
browse mode is used.
+* Added lists and landmarks to web touch mode elements.
+
+## Version 16.06
+
+* Initial stable version.
+
[1]: http://addons.nvda-project.org/files/get.php?file=ets
https://bitbucket.org/nvdaaddonteam/enhancedtouchgestures/commits/6ed35f5ec4f7/
Changeset: 6ed35f5ec4f7
Branch: None
User: josephsl
Date: 2017-02-24 21:57:15+00:00
Summary: Updated copyrights, take care of multi-monitor setups introduced
in NVDA Core 2017.1.
In NVDA Core 2017.1, mouse tracking can be done on computers with multiple
monitors, hence a new min point argument is needed for audio coordinate
playback. In order to support older NVDA versions (2016.3 and later), check and
use old versus new function signature for mouseHandler.playAudioCoordinates
function.
Affected #: 1 file
diff --git a/addon/globalPlugins/enhancedTouchGestures.py
b/addon/globalPlugins/enhancedTouchGestures.py
index 67a68db..e300b1e 100755
--- a/addon/globalPlugins/enhancedTouchGestures.py
+++ b/addon/globalPlugins/enhancedTouchGestures.py
@@ -1,6 +1,6 @@
# Enhanced touch gestures
# A touchscreen global plugin for NVDA
-# Copyright 2013-2016 Joseph Lee and others, released under GPL.
+# Copyright 2013-2017 Joseph Lee and others, released under GPL.
# Implements needed improvements for various touchscreen gestures.
# It also includes other support features such as announcing screen
orientation.
@@ -21,6 +21,16 @@ from NVDAObjects.IAccessible import getNVDAObjectFromEvent
from NVDAObjects.UIA import UIA
import controlTypes
+# 17.03 hack: a function to play audio coordinates.
+# In NvDA 2017.1, mouse handling extends to multi-monitor setups, hence a min
point argument is needed.
+def playAudioCoordinates(x, y):
+ screenWidth, screenHeight = api.getDesktopObject().location[-2:]
+ if hasattr(mouseHandler, "getMinMaxPoints"): # 2017.1 or later.
+ import wx
+
mouseHandler.playAudioCoordinates(x,y,screenWidth,screenHeight,wx.Point(),config.conf['mouse']['audioCoordinates_detectBrightness'],config.conf['mouse']['audioCoordinates_blurFactor'])
+ else: # 2016.4 or earlier, to be removed in summer.
+
mouseHandler.playAudioCoordinates(x,y,screenWidth,screenHeight,config.conf['mouse']['audioCoordinates_detectBrightness'],config.conf['mouse']['audioCoordinates_blurFactor'])
+
# Keep an eye on orientation changes via a window (credit: Power notification
add-on from Tyler Spivey)
class Window(windowUtils.CustomWindow):
className = u"NVDAOrientationTracker"
@@ -171,16 +181,14 @@ class GlobalPlugin(globalPluginHandler.GlobalPlugin):
def script_touch_newExplore(self,gesture):
touchHandler.handler.screenExplorer.moveTo(gesture.x,gesture.y,new=True)
if config.conf["mouse"]["audioCoordinatesOnMouseMove"]:
- w, h, screenWidth, screenHeight =
api.getDesktopObject().location
-
mouseHandler.playAudioCoordinates(gesture.x,gesture.y,screenWidth,screenHeight,config.conf['mouse']['audioCoordinates_detectBrightness'],config.conf['mouse']['audioCoordinates_blurFactor'])
+ playAudioCoordinates(gesture.x,gesture.y)
# Translators: Input help mode message for a touchscreen gesture.
script_touch_newExplore.__doc__=_("Reports the object and content
directly under your finger")
def script_touch_explore(self,gesture):
touchHandler.handler.screenExplorer.moveTo(gesture.x,gesture.y)
if config.conf["mouse"]["audioCoordinatesOnMouseMove"]:
- w, h, screenWidth, screenHeight =
api.getDesktopObject().location
-
mouseHandler.playAudioCoordinates(gesture.x,gesture.y,screenWidth,screenHeight,config.conf['mouse']['audioCoordinates_detectBrightness'],config.conf['mouse']['audioCoordinates_blurFactor'])
+ playAudioCoordinates(gesture.x,gesture.y)
# Translators: Input help mode message for a touchscreen gesture.
script_touch_explore.__doc__=_("Reports the new object or content under
your finger if different to where your finger was last")
https://bitbucket.org/nvdaaddonteam/enhancedtouchgestures/commits/9e09e2fc7b71/
Changeset: 9e09e2fc7b71
Branch: stable
User: josephsl
Date: 2017-02-24 23:53:46+00:00
Summary: Enhanced Touch Gestures 17.03, fixing an issue with coordinate
announcement beep in NVDA 2017.1 or later
Signed-off-by: Joseph Lee <joseph.lee22590@xxxxxxxxx>
Affected #: 2 files
diff --git a/buildVars.py b/buildVars.py
index a7c24dc..9362d9a 100755
--- a/buildVars.py
+++ b/buildVars.py
@@ -20,7 +20,7 @@ addon_info = {
"addon_description" : _("""A suite of additional touch commands,
including tabbing and help commands.
Requires a touch-enabled computer with Windows 8.0 or later with NVDA
2012.3 or later installed."""),
# version
- "addon_version" : "16.12",
+ "addon_version" : "17.03",
# Author(s)
"addon_author" : "Joseph Lee <joseph.lee22590@xxxxxxxxx>",
# URL for the add-on documentation support
diff --git a/readme.md b/readme.md
index 1453f28..040e810 100755
--- a/readme.md
+++ b/readme.md
@@ -5,7 +5,7 @@
This add-on provides additional touchscreen gestures for NVDA. It also
provides a set of gestures for easier browse mode navigation.
-Note that you need NVDA 2012.3 or later installed on a touchscreen computer
running Windows 8 or later. For best experience, Windows 8.1 or 10 with NVDA
2016.3 or later is recommended.
+Note that you need NVDA 2012.3 or later installed on a touchscreen computer
running Windows 8 or later. For best experience, Windows 8.1 or 10 with NVDA
2016.4 or later is recommended.
## Commands
@@ -39,6 +39,10 @@ If you've enabled play mouse coordinates setting in mouse
settings, you'll hear
NVDA can announce screen orientation changes. Note that NvDA cannot
distinguish between primary and secondary orientation at this time.
+##Version 17.03
+
+* Fixed an issue where coordinate announcement beep did not play or an error
tone played instead when using NVDA 2017.1 or later.
+
##Version 16.12
* Web touch mode works in Microsoft Edge, Microsoft Word and others where
browse mode is used.
Repository URL: https://bitbucket.org/nvdaaddonteam/enhancedtouchgestures/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.