Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6629657

provide raw key code from underlying system without changing API.

    XMLWordPrintable

Details

    • b01
    • x86
    • windows

    Backports

      Description

        There should be a way for Java programmer to obtain an unique identifier for a key pressed. Presently, we only have certain part of keys covered by VK_* java keycodes. Sometimes a KEY_PRESSED/KEY_RELEASED is completely useless, with all fields filled with zeroes.

        A proper solution to this would be manifold involving addition of more keycodes and providing means to query a KeyEvent about (in some sense) raw keycodes. However all this would require API change and is possible only in a new release (jdk7 I presume).

        There should be a way to make a partial fix suitable for an update release, without API change.

        Attachments

          Issue Links

            Activity

              People

                yan Yuri Nesterenko
                yan Yuri Nesterenko
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: