/// <summary> /// Determines if the key was pressed /// </summary> /// <param name="Key">The Key to check for</param> /// <returns>A true/false indicating that the Key was pressed</returns> public bool GetKeyState(Strive.Rendering.Controls.Key Key) { return(Engine.Input.IsKeyPressed(Keys.getTVKeyFromKey(Key))); }
/// <summary> /// Determines if the key was pressed /// </summary> /// <param name="Key">The Key to check for</param> /// <returns>A true/false indicating that the Key was pressed</returns> public bool GetKeyState(Strive.Rendering.Controls.Key Key) { R3DKey r = (R3DKey)Key; return(Engine.Control.Keyboard_GetKeyState(ref r)); }