Package com.sun.jna.platform
Class KeyboardUtils
java.lang.Object
com.sun.jna.platform.KeyboardUtils
Provide access to the local keyboard state. Note that this is meaningless
on a headless system and some VNC setups.
- Author:
- twall
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final com.sun.jna.platform.KeyboardUtils.NativeKeyboardUtils
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
static final com.sun.jna.platform.KeyboardUtils.NativeKeyboardUtils INSTANCE
-
-
Constructor Details
-
KeyboardUtils
public KeyboardUtils()
-
-
Method Details
-
isPressed
public static boolean isPressed(int keycode, int location) -
isPressed
public static boolean isPressed(int keycode)
-