|
JNA API> 3.1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jna.examples.KeyboardUtils
public class KeyboardUtils
Provide access to the local keyboard state. Note that this is meaningless on a headless system and some VNC setups.
Field Summary | |
---|---|
(package private) static com.sun.jna.examples.KeyboardUtils.NativeKeyboardUtils |
INSTANCE
|
Constructor Summary | |
---|---|
KeyboardUtils()
|
Method Summary | |
---|---|
static boolean |
isPressed(int keycode)
|
static boolean |
isPressed(int keycode,
int location)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final com.sun.jna.examples.KeyboardUtils.NativeKeyboardUtils INSTANCE
Constructor Detail |
---|
public KeyboardUtils()
Method Detail |
---|
public static boolean isPressed(int keycode, int location)
public static boolean isPressed(int keycode)
|
JNA API> 3.1.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |