public class XInputKeystroke extends Object
| Modifier and Type | Method and Description |
|---|---|
byte |
getHidCode()
Retrieves the HID code.
|
char |
getUnicode()
Retrieves the Unicode character.
|
byte |
getUserIndex()
Retrieves the user index (a.k.a. player number).
|
short |
getVirtualKey()
Retrieves the virtual key code.
|
boolean |
isKeyDown()
Determines whether this is a key down event.
|
boolean |
isKeyUp()
Determines whether this is a key up event.
|
boolean |
isRepeat()
Determines whether this is a key repeat event.
|
public short getVirtualKey()
XInputVirtualKeyCodes class.public char getUnicode()
public boolean isKeyDown()
true if the key was pressedpublic boolean isKeyUp()
true if the key was releasedpublic boolean isRepeat()
true if this is a key repetitionpublic byte getUserIndex()
public byte getHidCode()
Copyright © 2018. All rights reserved.