---------- Forwarded message ----------
From: Joseph Lee <[email protected]>
Date: Mon, 14 Sep 2015 20:21:34 -0700
Subject: [nvda-addons] Re: commit/EnhancedTouchGestures: josephsl:
Enhanced touch gestures 0.5,  adding a gesture to toggle touch
keyboard (works in Windows 10).
To: [email protected], [email protected]

Hi all,
In a recent FSCast, Freedom Scientific's Eric Damery mentioned a
gesture in JAWS 17 that'll toggle touch keyboard. Well, NVDA's
enhanced touch gestures now has an equivalent feature: after
installing 0.5, do a four finger flick right to toggle touch keyboard
9you'll hear a beep).
The add-on can be downloaded from the following link:
http://addons.nvda-project.org/addons/enhancedTouchGestures.en.html
It should be ready in about an hour. Note that this works with Windows
10 for now.
Cheers,
Joseph

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Monday, September 14, 2015 8:14 PM
To: [email protected]
Subject: commit/EnhancedTouchGestures: josephsl: Enhanced touch
gestures 0.5, adding a gesture to toggle touch keyboard (works in
Windows 10).

1 new commit in EnhancedTouchGestures:

https://bitbucket.org/nvdaaddonteam/enhancedtouchgestures/commits/fcb38b56af82/
Changeset:   fcb38b56af82
Branch:      master
User:        josephsl
Date:        2015-09-15 03:14:29+00:00
Summary:     Enhanced touch gestures 0.5, adding a gesture to toggle
touch keyboard (works in Windows 10).

Affected #:  3 files

diff --git a/addon/globalPlugins/enhancedTouchGestures.py
b/addon/globalPlugins/enhancedTouchGestures.py
index b8f8f88..896443e 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-2014 Joseph Lee and others, released under GPL.
+# Copyright 2013-2015 Joseph Lee and others, released under GPL.

 # Implements needed improvements for various touchscreen gestures.

@@ -13,6 +13,10 @@ import api
 import winUser
 import mouseHandler
 import config
+import windowUtils
+import tones
+from NVDAObjects.IAccessible import getNVDAObjectFromEvent
+

 class GlobalPlugin(globalPluginHandler.GlobalPlugin):

@@ -142,6 +146,13 @@ class GlobalPlugin(globalPluginHandler.GlobalPlugin):
        # 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")

+       def script_touchKeyboardEnable(self, gesture):
+               # Locate the touch keyboard button and activate it, simulating 
JAWS
17 gesture.
+               keyboardButtonHwnd =
windowUtils.findDescendantWindow(api.getDesktopObject().windowHandle,
className="TIPBand")
+               touchKeyboardButton = getNVDAObjectFromEvent(keyboardButtonHwnd,
winUser.OBJID_CLIENT, 0)
+               touchKeyboardButton.doAction()
+               tones.beep(1000, 150)
+
        def script_prevSynthSettingValue(self, gesture):
                commands.script_increaseSynthSetting(gesture)

@@ -161,6 +172,7 @@ class GlobalPlugin(globalPluginHandler.GlobalPlugin):
                # For object mode: moving focus, moving to focus, object name 
and dimentions.
                # For text mode, moving to top and bottom of text.
                "ts:4finger_double_tap":"toggleInputHelp",
+               "ts:4finger_flickRight":"touchKeyboardEnable",
                "ts(object):3finger_flickLeft":"reportCurrentFocus",
                "ts(object):4finger_flickUp":"title",
                "ts(object):4finger_flickDown":"reportStatusLine",

diff --git a/buildVars.py b/buildVars.py index 5e66203..9652ca0 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" : "0.4",
+       "addon_version" : "0.5",
        # Author(s)
        "addon_author" : "Joseph Lee <[email protected]>",
        # URL for the add-on documentation support

diff --git a/readme.md b/readme.md
index bf7a261..8d2cb81 100755
--- a/readme.md
+++ b/readme.md
@@ -1,7 +1,7 @@
 # Enhanced Touchscreen Gestures #

 * Author: Joseph Lee
-* Version: [0.4][1]
+* Version: [0.5][1]

 This add-on provides additional touchscreen gestures for NVDA. It
also provides a set of gestures for easier browse mode navigation.

@@ -13,6 +13,7 @@ Note that you need NVDA 2012.3 or later installed on
a touchscreen computer runn

 * 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 ###

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.

----------------------------------------------------------------
NVDA add-ons: A list to discuss add-on code enhancements and for
reporting bugs.

Community addons are available from: http://addons.nvda-project.org
To send a message to the list: [email protected]
To change your list settings/unsubscribe:
http://www.freelists.org/list/nvda-addons
To contact list moderators: [email protected]



-- 
Warm Regards
Bhavya Shah
Using NVDA (Non Visual Desktop Access) free and open source screen
reader for Microsoft Windows
To download a copy of the free screen reader NVDA, please visit
http://www.nvaccess.org/
Using Google Talkback on Motorolla G second generation Lollipop 5.0.2
Reach me through the following means:
Mobile: +91 7506221750
E-mail id: [email protected]
Skype id : bhavya.09



Register at the dedicated AccessIndia list for discussing accessibility of 
mobile phones / Tabs on:
http://mail.accessindia.org.in/mailman/listinfo/mobile.accessindia_accessindia.org.in


Search for old postings at:
http://www.mail-archive.com/[email protected]/

To unsubscribe send a message to
[email protected]
with the subject unsubscribe.

To change your subscription to digest mode or make any other changes, please 
visit the list home page at
http://accessindia.org.in/mailman/listinfo/accessindia_accessindia.org.in


Disclaimer:
1. Contents of the mails, factual, or otherwise, reflect the thinking of the 
person sending the mail and AI in no way relates itself to its veracity;

2. AI cannot be held liable for any commission/omission based on the mails sent 
through this mailing list..

Reply via email to