Package com.sun.jna.platform
Class KeyboardUtils
- java.lang.Object
-
- com.sun.jna.platform.KeyboardUtils
-
public class KeyboardUtils extends Object
Provide access to the local keyboard state. Note that this is meaningless on a headless system and some VNC setups.- Author:
- twall
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static com.sun.jna.platform.KeyboardUtils.NativeKeyboardUtils
INSTANCE
-
Constructor Summary
Constructors Constructor Description KeyboardUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isPressed(int keycode)
static boolean
isPressed(int keycode, int location)
-