[nvda] Re: mouse movement and speech synths [was: working hungarian language of NVDA]

Mirabella, Mathew J wrote:
Why not use scroll lock instead of numlock for the mouse movement modes?
Hahaha. I had the same idea, except then I figured out what Mick was suggesting. If we use numlock, the keys reported by Windows are actually different; we get numpad numbers instead of "down" when we press numpad 2, for example.

Alternatively we could yuse a method like using numpad-minus yes, just
like Jaws does :)
I know you have to check for a mode, but can you make it check for the
key first, and only if it is a specific key like the '-' key, will it
then check for a mode.  I guess that is what you mean to do anyway...
No. You have to check for a mode every time you press a key because you want the keys to react differently based on what mode you're in. If we checked only with numpad minus, we'd only have one key to work with, and we need a lot more than that for mousing. In truth, checking for a mode is not too bad. It's one variable, and remember, the more keys we have in the map, the more scanning required. Much of a muchness, really. However, it does mean we need to somehow add a mode parameter to our key mappings, which is a pain. Probably easiest to invent a new fake key constant which we can add to the set. e.g. "NVDAMouseMode+Down".

Jamie


--
James Teh
Email: jamie@xxxxxxxxxxx
WWW: http://www.jantrid.net/
MSN Messenger: jamie@xxxxxxxxxxx
Jabber: jteh@xxxxxxxxxx
Yahoo: jcs_teh
To post messages to the list send email to
nvda@xxxxxxxxxxxxx
To unsubscribe from the list send a blank message to:
nvda-request@xxxxxxxxxxxxx
with 'unsubscribe' in the Subject field.
Thank you for your continued support of Nonvisual Desktop Access, an open 
source free screen reader for Microsoft Windows:
http://www.nvaccess.org/nvda/
Message Archive:
http://www.freelists.org/archives/nvda

Other related posts: