IGameInputReading::GetTimestamp
Retrieves the microsecond timestamp associated with the IGameInputReading.
Syntax
uint64_t GetTimestamp(
)
Parameters
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. Make sure that you also check the sequence number of a reading with the IGameInputReading::GetSequenceNumber function.
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: xgameruntime.lib
Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles
See also
Input API Overview
IGameInputReading
IGameInput::GetCurrentTimeStamp.md