Constructor and Description |
---|
TouchTrigger(int keyCode)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getKeyCode() |
java.lang.String |
getName() |
static int |
touchHash(int keyCode) |
int |
triggerHashCode()
Returns the hash code for the trigger.
|
public TouchTrigger(int keyCode)
keyCode
- can be zero to get all events or TouchInput.KEYCODE_*public java.lang.String getName()
public static int touchHash(int keyCode)
public int triggerHashCode()
Trigger
triggerHashCode
in interface Trigger
public int getKeyCode()