com.sun.jna.examples

Class 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
static KeyboardUtils.NativeKeyboardUtilsINSTANCE
Method Summary
static booleanisPressed(int keycode, int location)
static booleanisPressed(int keycode)

Field Detail

INSTANCE

static final KeyboardUtils.NativeKeyboardUtils INSTANCE

Method Detail

isPressed

public static boolean isPressed(int keycode, int location)

isPressed

public static boolean isPressed(int keycode)
Copyright © 2007-2009 Timothy Wall. All Rights Reserved.