File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/main/java/com/github/kwhat/jnativehook/keyboard Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 24
24
/**
25
25
* An event which indicates that a keystroke occurred at global scope.
26
26
* <p>
27
- * <p>
27
+ *
28
28
* This low-level event is generated by the native system when a key is pressed or released
29
29
* independent of Java component focus. The event is passed to every
30
30
* <code>NativeKeyListener</code> object which has been registered to receive
31
31
* global key events using the {@link GlobalScreen#addNativeKeyListener(NativeKeyListener)} method.
32
32
* Each <code>NativeKeyListener</code> object will receive a
33
33
* <code>NativeKeyEvent</code> when the event occurs.
34
34
* <p>
35
- * <p>
35
+ *
36
36
* All <code>NativeKeyEvent</code> objects are dependent on the native platform and keyboard layout.
37
37
* <code>NATIVE_KEY_PRESSED</code> and <code>NATIVE_KEY_RELEASED</code> events are generated for
38
38
* every key code received by the native system. The key being pressed or released is indicated by
48
48
* note that {@link #getKeyCode()} will always return <code>VC_UNDEFINED</code> for
49
49
* <code>NATIVE_KEY_TYPED</code> events.
50
50
* <p>
51
- * <p>
51
+ *
52
52
* Virtual key codes only represent the physical key that has been pressed and should not be
53
53
* mistaken with the character mapped to that key by the operating system.
54
54
* <code>NATIVE_KEY_PRESSED</code> and <code>NATIVE_KEY_RELEASED</code> events should only be used
55
55
* to determin phisical key state, while <code>NATIVE_KEY_TYPED</code> events can be used to
56
56
* determine the Unicode representation of the <code>NativeKeyEvent</code>.
57
- * <p>
58
57
*
59
58
* @author Alexander Barker (<a href="mailto:[email protected] ">[email protected] </a>)
60
59
* @version 2.0
You can’t perform that action at this time.
0 commit comments