C# Class FlatRedBall.Input.InputManager

Containing functionality for keyboard, mouse, and joystick input.
Mostra file Open project: vchelaru/FlatRedBall

Public Properties

Property Type Description
mReceivingInput FlatRedBall.Gui.IInputReceiver

Private Properties

Property Type Description
ClearXbox360GamePadInput void
InitializeTouchScreen void
InitializeXbox360GamePads void
InputManager System
PerformXbox360GamePadUpdate void

Public Methods

Method Description
BackHandled ( ) : void
CheckControllerConnectionChange ( ) : void
ClearAllInput ( ) : void
Initialize ( IntPtr windowHandle ) : void
IsKeyConsumedByInputReceiver ( Keys key ) : bool
Update ( ) : void

Private Methods

Method Description
ClearXbox360GamePadInput ( ) : void
InitializeTouchScreen ( ) : void
InitializeXbox360GamePads ( ) : void
InputManager ( ) : System
PerformXbox360GamePadUpdate ( ) : void

Method Details

BackHandled() public static method

public static BackHandled ( ) : void
return void

CheckControllerConnectionChange() public static method

public static CheckControllerConnectionChange ( ) : void
return void

ClearAllInput() public static method

public static ClearAllInput ( ) : void
return void

Initialize() public static method

public static Initialize ( IntPtr windowHandle ) : void
windowHandle System.IntPtr
return void

IsKeyConsumedByInputReceiver() public static method

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

Update() public static method

public static Update ( ) : void
return void

Property Details

mReceivingInput static_oe public_oe property

Reference to an IInputReceiver which will have its ReceiveInput method called every frame.
If this reference is not null, the reference's ReceiveInput method is called in the InputManager.GetInputState method. FlatRedBall.Gui.IInputReceiver
static public IInputReceiver,FlatRedBall.Gui mReceivingInput
return FlatRedBall.Gui.IInputReceiver