메소드 | 설명 | |
---|---|---|
GetHeldKeys ( Action |
Calls the callback for each Keys key where Button.IsDown is true
|
|
GetHeldKeys ( List |
Adds a key to the heldKeyList for each Keys key where Button.IsDown is true The list will be cleared before any keys are added
|
|
GetKey ( Keys key ) : |
Gets the Button state of a key
|
|
GetKeyArray ( ) : Keys[] |
Allocates an array of all values in the Keys enumerator
|
|
GetPressedKeys ( Action |
Calls the callback for each Keys key where Button.OnPressed is true
|
|
GetPressedKeys ( List |
Adds a key to the pressedList for each Keys key where Button.OnPressed is true
|
|
IsKeyDown ( Keys key ) : bool |
Returns true if a key is down
|
|
IsKeyUp ( Keys key ) : bool |
Returns true if a key is up
|
|
TryGetKeyChar ( Keys key, char &keyChar ) : bool |
Gets the character for a given Keys key. Eg: Keys.A will output 'a'. Uses the current keyboard modifier key state; Shift will convert to upper case, etc. Returns false if the key character is unknown
|
|
this ( Keys key ) : |
Button Indexer (Keys)
|
메소드 | 설명 | |
---|---|---|
GetKeyboardLayout ( uint thread ) : |
||
HeldCallback ( Action |
||
HeldList ( List |
||
KeyboardInputState ( ) : System | ||
MapVirtualKeyEx ( uint uCode, uint uMapType, |
||
PressCallback ( Action |
||
PressList ( List |
||
ToUnicodeEx ( uint wVirtKey, uint wScanCode, byte lpKeyState, char &pwszBuff, int cchBuff, uint wFlags, |
||
Update ( long tick, |
public TryGetKeyChar ( Keys key, char &keyChar ) : bool | ||
key | Keys | |
keyChar | char | |
리턴 | bool |