Share via


IGameInputReading::GetTimestamp (v1)

Retrieves the microsecond timestamp associated with the IGameInputReading.

Syntax

uint64_t GetTimestamp();

Return value

Type: uint64_t

The microsecond timestamp describing when the input was made.

Remarks

There are cases where a time stamp is not sufficient to differentiate between two separate readings. You can compare the results of this function with the current time by comparing the results from IGameInput::GetCurrentTimeStamp.md.

Requirements

Header: GameInput.h

Library: gameinput.lib

Supported platforms: Windows

See also

Input API Overview IGameInputReading IGameInput::GetCurrentTimeStamp.md