org.ximtec.igesture.io.keyboard
Class KeyboardUtils
java.lang.Object
org.ximtec.igesture.io.keyboard.KeyboardUtils
public class KeyboardUtils
- extends Object
Example of setting an hook function for keyboard. Implemented using JNA.
- Author:
- Michele Croci, Ueli Kurmann
|
Method Summary |
void |
keyEvent(Key key,
Key status)
Simulates a keyboard input |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeyboardUtils
public KeyboardUtils()
keyEvent
public void keyEvent(Key key,
Key status)
- Simulates a keyboard input
- Parameters:
key - the keystatus - the status (UP, DOWN)
Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.