C4 Engine
C4 Engine API Documentation

InputMgr::GetMouseDeltaX

Defined in:  C4Input.h
Returns the mouse movement delta on the x axis.
Prototype

float GetMouseDeltaX(voidconst;

Description
The GetMouseDeltaX function returns the mouse movement delta on the x axis. The delta value is expressed in generic units that are scaled to be equivalent across all mouse devices and then multiplied by the current mouse sensitivity.

The mouse movement delta is updated by the Input Manager only when the current input mode includes the kInputMouseActive flag.
See Also

InputMgr::GetMouseDeltaY

InputMgr::GetMouseSensitivity

InputMgr::SetMouseSensitivity

InputMgr::GetMouseFlags

InputMgr::SetMouseFlags