You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported by jteh on 2007-04-20 01:34
Sometimes, one needs to pass a key through to an application which is an NVDA command or which NVDA intercepts in some way. In these cases, it would be useful to have a command which would bypass NVDA's keyboard handler for the next key press. This would be similar to the JAWSKey+3 command in JAWS.
A decision needs to be made as to how NVDA determines that a key press is complete. The method used by JAWS is to wait for all keys pressed after the bypass command to be released. This actually means that, for example, holding control and continually tapping the right arrow will bypass all presses until control is released. This could be implemented by maintaining a set of keys which have received key down events, removing each key in the key up event and disabling bypass mode once the set is empty. Another alternative is to implement some sort of key bypass lock, but this would require a special key combination to release the lock. unfortunately, it is impossible to know whether any given combination will be used by some other application, so this is not really a good idea.
The text was updated successfully, but these errors were encountered:
Comment 1 by jteh on 2007-04-20 04:13
Implemented in r556. Damn you're fast, Mick! Nice idea with the counter, by the way; much simpler and more efficient than a set. I love the way it's so easy to make things more complicated than they need to be!
Changes:
State: closed
Reported by jteh on 2007-04-20 01:34
Sometimes, one needs to pass a key through to an application which is an NVDA command or which NVDA intercepts in some way. In these cases, it would be useful to have a command which would bypass NVDA's keyboard handler for the next key press. This would be similar to the JAWSKey+3 command in JAWS.
A decision needs to be made as to how NVDA determines that a key press is complete. The method used by JAWS is to wait for all keys pressed after the bypass command to be released. This actually means that, for example, holding control and continually tapping the right arrow will bypass all presses until control is released. This could be implemented by maintaining a set of keys which have received key down events, removing each key in the key up event and disabling bypass mode once the set is empty. Another alternative is to implement some sort of key bypass lock, but this would require a special key combination to release the lock. unfortunately, it is impossible to know whether any given combination will be used by some other application, so this is not really a good idea.
The text was updated successfully, but these errors were encountered: