Skip to content

Commit

Permalink
Consistent terminology and more details in comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
beldenfox committed Feb 9, 2024
1 parent 8f23817 commit 6400299
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,10 +251,11 @@ public class KeyEvent {
/**
* Returns a VK_ code of a key capable of producing the given unicode
* character with respect to the currently active keyboard layout or
* VK_UNDEFINED if the character isn't present in the current layout.
* The hint is the KeyCode of the key the system is attempting to match.
* It can be used to optimize the search or to distinguish between the
* main keyboard and the numeric keypad.
* VK_UNDEFINED if the character isn't present in the current layout. The
* hint is the VK_ code of the key the system is attempting to match
* (which may be VK_UNDEFINED for a key on the main keyboard). It can be
* used to optimize the search or to distinguish between the main
* keyboard and the numeric keypad.
*
* @param c the character
* @param hint the code of the key the system is attempting to match
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -727,10 +727,11 @@ public final boolean supportsSystemMenu() {
/**
* Returns a VK_ code of a key capable of producing the given unicode
* character with respect to the currently active keyboard layout or
* VK_UNDEFINED if the character isn't present in the current layout.
* The hint is the KeyCode of the key the system is attempting to match.
* It can be used to optimize the search or to distinguish between the
* main keyboard and the numeric keypad.
* VK_UNDEFINED if the character isn't present in the current layout. The
* hint is the VK_ code of the key the system is attempting to match
* (which may be VK_UNDEFINED for a key on the main keyboard). It can be
* used to optimize the search or to distinguish between the main
* keyboard and the numeric keypad.
*
* @param c the character
* @param hint the code of the key the system is attempting to match
Expand Down

0 comments on commit 6400299

Please sign in to comment.