Permalink
Browse files

Messages are now displayed in braille when changing input modes for a…

…n input method (native input/alphanumeric, full shaped/half shaped, etc.).

PR #6232. Issues #5892, #5893.
  • Loading branch information...
surfer0627 authored and jcsteh committed Sep 16, 2016
1 parent 6ce83c9 commit 2ea883cce548d1a7d545d3e5127d18b865369707
Showing with 2 additions and 2 deletions.
  1. +2 −2 source/NVDAHelper.py
View
@@ -259,7 +259,7 @@ def nvdaControllerInternal_inputCandidateListUpdate(candidatesString,selectionIn
}
def handleInputConversionModeUpdate(oldFlags,newFlags,lcid):
import speech
import ui
textList=[]
if newFlags!=oldFlags and lcid&0xff==0x11: #Japanese
msg=JapaneseInputConversionModeMessages.get(newFlags)
@@ -275,7 +275,7 @@ def handleInputConversionModeUpdate(oldFlags,newFlags,lcid):
if newOn!=oldOn:
textList.append(msgs[0] if newOn else msgs[1])
if len(textList)>0:
queueHandler.queueFunction(queueHandler.eventQueue,speech.speakMessage," ".join(textList))
queueHandler.queueFunction(queueHandler.eventQueue,ui.message," ".join(textList))
@WINFUNCTYPE(c_long,c_long,c_long,c_ulong)
def nvdaControllerInternal_inputConversionModeUpdate(oldFlags,newFlags,lcid):

0 comments on commit 2ea883c

Please sign in to comment.