[nvda-addons] Re: commit/StationPlaylist: josephsl: Wacom: prepare for next generation of interactive broadcasting on tablets.

  • From: Roger Stewart <paganus2@xxxxxxxxx>
  • To: nvda-addons@xxxxxxxxxxxxx
  • Date: Sat, 25 Oct 2014 10:57:18 -0500

I wonder if there are any tablets that are actually powerful enough to run SPL. Also, they'll need lots and lots of storage to hold the music library. Finally, SPL will only run on Windows and there are no plans to make a version for iOS or Linux which most tablets run. I'm just curious if such an add on would really ever be necessary? It would be very cool though if a powerful enough tablet could ever be developed that could run SPL and carry a fairly large music library to boot. I had a netbook and it wasn't good enough to run SPL. It takes a full laptop to run it at the current time.


Thanks.

Roger






On 10/25/2014 12:49 AM, Joseph Lee wrote:
Hi all,
I'm delighted to announce the launch of "Project Wacom" for Studio add-on.
This project will bring support for SPL to the next level as never seen
before. By combining the power of a Windows tablet, NVDA, StationPlaylist
Studio and the NVDA add-on for Studio, you will be able to host a live show
right on your tablet using NVDA.
So why the name "Wacom?" Wacom is a Japanese company specializing in
graphics tablets and interactive touchscreen monitors. A lot of companies
use technology from Wacom, including Microsoft on its latest Surface Pro
tablet.
The goal of Project Wacom is to provide rich set of touchscreen commands for
users of Studio who needs to use Studio on their tablet. This may include a
dedicated touch mode for use from within studio, a shortcut command to open
Track Finder and so on. I expect this project to take a while to implement,
and if successful, will make its debut as part of SPL add-on 4.0 or later
(note that you'll need an install copy of NVDA and StationPlaylist Studio
running on a tablet running Windows 8 or later).
For Mick and Jamie: I do know that add-ons can provide touchscreen commands
of their own. Can add-ons, including app modules add their own touch modes
during runtime in a safe way? If I use the code as shown below
(touchHandler.availableTouchModes.append(modeName)) while the add-on is
loading, NVDA does recognize the newly added mode; but when I use input help
mode while the newly added touch mode is active, I get KeyError, showing
that the newly added mode isn't available when viewed from touch handler
module. Also, I heard from Jamie about possibility of restructuring
touchscreen commands (moving away from touch modes), and if so, will there
be a way for add-ons (mostly app modules) to specify a mode in which touch
gestures can be assigned to add-ons alone i.e. taken care by the add-on/app
module itself? This might be valuable if an add-on (say, place markers or
speech recognition) can provide some touchscreen shortcuts of their own to
allow touch users to use these add-ons via the tablet alone (although one
can invoke touch keyboard, having some dedicated modes for add-ons might be
useful for situations where it may not be ideal to pop open touch keyboard
such as quick web browsing).
Thanks.
Cheers,
Joseph


-----Original Message-----
From: nvda-addons-commits-bounce@xxxxxxxxxxxxx
[mailto:nvda-addons-commits-bounce@xxxxxxxxxxxxx] On Behalf Of
commits-noreply@xxxxxxxxxxxxx
Sent: Friday, October 24, 2014 10:29 PM
To: nvda-addons-commits@xxxxxxxxxxxxx
Subject: commit/StationPlaylist: josephsl: Wacom: prepare for next
generation of interactive broadcasting on tablets.

1 new commit in StationPlaylist:

https://bitbucket.org/nvdaaddonteam/stationplaylist/commits/9b34de276312/
Changeset:   9b34de276312
Branch:      wacom
User:        josephsl
Date:        2014-10-25 05:28:35+00:00
Summary:     Wacom: prepare for next generation of interactive broadcasting
on tablets.
Initial work for touchscreen support, including a dedicated studio mode
command. So far, Control+NVDA+1 has been assigned to four finger single tap
in studio mode.
Because adding additional touch modes at runtime causes key error to be
thrown in input help mode, it might be better to just assign a touchscreen
command without any special studio mode.
as this is experimental, this work will be refered to as project Wacom or
Wacom builds series (earliest inclusion will be in 4.0-dev only.

Affected #:  1 file

diff --git a/addon/appModules/splstudio.py b/addon/appModules/splstudio.py
index 6564256..ba99d30 100644
--- a/addon/appModules/splstudio.py
+++ b/addon/appModules/splstudio.py
@@ -22,6 +22,7 @@ import api
  import globalVars
  import review
  import scriptHandler
+import touchHandler # Wacom builds
  import ui
  import nvwave
  import braille
@@ -61,6 +62,10 @@ SPLWin = user32.FindWindowA("SPLStudio", None)  # A
placeholder thread.
  micAlarmT = None
+# Wacom: Setup the touchscreen environment.
+def SPLTouchSetup():
+       touchHandler.availableTouchModes.append("studio")
+
class AppModule(appModuleHandler.AppModule): @@ -216,8 +221,16 @@ class AppModule(appModuleHandler.AppModule):
                fg = api.getForegroundObject()
                if fg.windowClassName == "TTrackInsertForm":
                        if self.libraryScanning: self.monitorLibraryScan()
+               if touchHandler.handler is not None:
+                       touchHandler.handler._curTouchMode =
+touchHandler.availableTouchModes[1]
                nextHandler()
+ # Wacom: see if we can use touchscreen for some SPL commands.
+       def __init__(self, *args, **kwargs):
+               super(AppModule, self).__init__(*args, **kwargs)
+               if touchHandler.handler is not None:
+                       SPLTouchSetup()
+
        # Save configuration when terminating.
        def terminate(self):
                global SPLConfig
@@ -841,6 +854,7 @@ class AppModule(appModuleHandler.AppModule):
                "kb:alt+shift+t":"sayElapsedTime",
                "kb:shift+nvda+f12":"sayBroadcasterTime",
                "kb:control+nvda+1":"toggleBeepAnnounce",
+               "ts(studio):4finger_tap":"toggleBeepAnnounce",
                "kb:control+nvda+2":"setEndOfTrackTime",
                "kb:alt+nvda+2":"setSongRampTime",
                "kb:control+nvda+4":"setMicAlarm",

Repository URL: https://bitbucket.org/nvdaaddonteam/stationplaylist/

--

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 Central: A list for discussing NVDA add-ons

To post a message, send an email to nvda-addons@xxxxxxxxxxxxx.

To unsubscribe, send an email with the subject line of "unsubscribe" (without 
quotes) to nvda-addons-request@xxxxxxxxxxxxx.

If you have questions for list moderators, please send a message to 
nvda-addons-moderators@xxxxxxxxxxxxx.

Community addons can be found here: http://addons.nvda-project.org


----------------------------------------------------------------

NVDA add-ons Central: A list for discussing NVDA add-ons

To post a message, send an email to nvda-addons@xxxxxxxxxxxxx.

To unsubscribe, send an email with the subject line of "unsubscribe" (without 
quotes) to nvda-addons-request@xxxxxxxxxxxxx.

If you have questions for list moderators, please send a message to 
nvda-addons-moderators@xxxxxxxxxxxxx.

Community addons can be found here: http://addons.nvda-project.org

Other related posts: