Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java Access Bridge: Support function and additional keys in key bindings #4345

Closed
nvaccessAuto opened this issue Jul 31, 2014 · 4 comments
Closed
Labels
close/duplicate enhancement p5 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority

Comments

@nvaccessAuto
Copy link

Reported by jteh on 2014-07-31 06:45
I was notified about this privately.

I wanted to let you know that we've added support for F keys and
controls keys to Java accelerators.

Bit 8 of the modifier indicates an F key and the F key number (1 - 24)
is in the character.

Bit 9 indicates a control key and the control key is in the character. 
Supported are the following:

            case KeyEvent.VK_BACK_SPACE:
            case KeyEvent.VK_DELETE:
            case KeyEvent.VK_DOWN:
            case KeyEvent.VK_END:
            case KeyEvent.VK_HOME:
            case KeyEvent.VK_INSERT:
            case KeyEvent.VK_KP_DOWN:
            case KeyEvent.VK_KP_LEFT:
            case KeyEvent.VK_KP_RIGHT:
            case KeyEvent.VK_KP_UP:
            case KeyEvent.VK_LEFT:
            case KeyEvent.VK_PAGE_DOWN:
            case KeyEvent.VK_PAGE_UP:
            case KeyEvent.VK_RIGHT:
            case KeyEvent.VK_UP:

This will be in 7ux, 8u40, and 9.
  • Bit 8 is 1 << 8; i.e. counting bits from 0.
  • There are no constants for these yet, but they'll probably be named ACCESSIBLE_FKEY_KEYSTROKE and ACCESSIBLE_CONTROLKEY_KEYSTROKE.
  • There's a test case attached to this bug.
  • The VK_* constants can be found here.
@nvaccessAuto
Copy link
Author

Comment 1 by jteh on 2014-07-31 06:46
EA 9 b24 with the new accelerator support is now available for download.

@LeonarddeR
Copy link
Collaborator

CC @jcsteh

@jcsteh
Copy link
Contributor

jcsteh commented Jul 17, 2017

P4 because we haven't had any requests for apps that actually depend on this. Happy to consider raising that priority if there are use cases, though.

@jcsteh jcsteh added the p5 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority label Jul 17, 2017
@jcsteh
Copy link
Contributor

jcsteh commented Jul 19, 2017

Closing as duplicate of #6081, as that issue provides a use case and a PR.

@jcsteh jcsteh marked this as a duplicate of #6081 Jul 19, 2017
@jcsteh jcsteh closed this as completed Jul 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
close/duplicate enhancement p5 https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#priority
Projects
None yet
Development

No branches or pull requests

3 participants