DarkBASIC Professional Help File

DX11 GET MOUSEMOVEX

Retrieves the relative X coordinate for the mouse, signifying motion since the last call to DX11 SYNC.
Note that unlike the DBPro counterpart, this function does not reset its value after being called - however the
delta value will still be accumulative so that if you move the mouse five pixels per frame and only check this function
every fifth frame, it will return 25. Calling this function multiple times per frame will always return the same value.

Syntax

    Return Integer = DX11 GET MOUSEMOVEX()

Parameters

    This function does not take any parameters.

Returns

The relative delta X coordinate of the mouse cursor since the last call to this function and DX11 SYNC.

See also

INPUT Functions Menu
DX11 Function Categories