I'm looking to be able to do something like this:
Keystate@ state = keyboard.getKeystate("space");
// elsewhere...
if (state)
{
// key is down
}
Posted 17 October 2012 - 08:47 PM
Keystate@ state = keyboard.getKeystate("space");
// elsewhere...
if (state)
{
// key is down
}
Posted 18 October 2012 - 01:13 PM
Keystate@ state = keyboard.getKeystate("space");
// elsewhere...
if ( state.isDown() )
{
// key is down
}