C# Class Oglr.Core.KeyboardStatus

Show file Open project: SteveDunn/oglr Class Usage Examples

Public Methods

Method Description
IsKeyDown ( Keys keys ) : bool
IsKeyUp ( Keys keys ) : bool
IsNewKeyPress ( Keys key ) : bool
IsNewKeyRelease ( Keys key ) : bool
Update ( KeyboardState keyboardState ) : void

Method Details

IsKeyDown() public static method

public static IsKeyDown ( Keys keys ) : bool
keys Keys
return bool

IsKeyUp() public static method

public static IsKeyUp ( Keys keys ) : bool
keys Keys
return bool

IsNewKeyPress() public static method

public static IsNewKeyPress ( Keys key ) : bool
key Keys
return bool

IsNewKeyRelease() public static method

public static IsNewKeyRelease ( Keys key ) : bool
key Keys
return bool

Update() public static method

public static Update ( KeyboardState keyboardState ) : void
keyboardState Microsoft.Xna.Framework.Input.KeyboardState
return void