Click or drag to resize
DigitalRuneInputManagerEnableMouseCentering Property
Gets or sets a value indicating whether the mouse position is reset in each frame.

Namespace: DigitalRune.Game.Input
Assembly: DigitalRune.Game.Input (in DigitalRune.Game.Input.dll) Version: 1.8.0.0 (1.8.0.14467)
Syntax
public bool EnableMouseCentering { get; set; }

Property Value

Type: Boolean
if the mouse position is reset in each frame; otherwise, .

Implements

IInputServiceEnableMouseCentering
Remarks
If EnableMouseCentering is , the input service will reset the mouse position to MouseCenter in each frame. This is necessary, for example, for first-person shooters that need only relative mouse input.
See Also