© 2006-2007 ETH Zurich

org.ximtec.igesture.io.keyboard
Class KeyboardUtils

java.lang.Object
  extended by 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

Constructor Summary
KeyboardUtils()
           
 
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
 

Constructor Detail

KeyboardUtils

public KeyboardUtils()
Method Detail

keyEvent

public void keyEvent(Key key,
                     Key status)
Simulates a keyboard input

Parameters:
key - the key
status - the status (UP, DOWN)

© 2006-2007 ETH Zurich

Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.