MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetKeyUp

Function GetKeyUp

Source/Engine/Input/Keyboard.h:61–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59 /// <param name="key">Key ID to check</param>
60 /// <returns>True if user releases the key, otherwise false.</returns>
61 API_FUNCTION() FORCE_INLINE bool GetKeyUp(KeyboardKeys key) const
62 {
63 return !_state.Keys[static_cast<int32>(key)] && _prevState.Keys[static_cast<int32>(key)];
64 }
65
66 /// <summary>
67 /// Checks if any keyboard key is currently pressed.

Callers 2

UpdateMethod · 0.85
GetKeyUpMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected