getCursor and text to brailleDriver

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

getCursor and text to brailleDriver

tayky
Hello all,
I create a braille driver for the braille display, but I have to nedd
the other information in display() method.
I would like get the cursor position (braillebuffer) and the text (befor
translate).
I have saw in braille.py but I don't know how to do...
Do you have a example for this usage ?
def    display():
     cursorPos = x
     currText = "the text before translate"

Thank in advance :)

Tayky


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Nvda-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nvda-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: getCursor and text to brailleDriver

James Teh
NVDA's braille display drivers were never designed to be able to request such information. The display method is just supposed to display raw braille; NVDA handles all of the translation, scrolling, etc. Can you explain why you need this information?


On Tue, Feb 28, 2017 at 12:22 AM, tayky <[hidden email]> wrote:
Hello all,
I create a braille driver for the braille display, but I have to nedd
the other information in display() method.
I would like get the cursor position (braillebuffer) and the text (befor
translate).
I have saw in braille.py but I don't know how to do...
Do you have a example for this usage ?
def    display():
     cursorPos = x
     currText = "the text before translate"

Thank in advance :)

Tayky


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Nvda-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nvda-devel


------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
Nvda-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/nvda-devel
Loading...