IGameInput::GetTemporalReading
Gets an input reading interpolated to a specified point in time.Syntax
Parameters
targetTime _In_Type: uint64_t The target timestamp in microseconds. Use IGameInput::GetCurrentTimestamp to get the current time. windowSize _In_
Type: uint64_t The size of the interpolation window around
targetTime, in microseconds.
inputKind _In_Type: GameInputKind The type of input to retrieve. device _In_opt_
Type: IGameInputDevice* An optional filter that limits the result to a specific device. reading _COM_Outptr_
Type: IGameInputReading** The resulting interpolated reading.
Return value
Type: HRESULT Returns E_NOTIMPL, as this method was never implemented in v0.Remarks
This method was used to retrieve an input reading that had been interpolated to a specific point in time, useful for applications needing to correlate input with a specific frame timestamp. It was removed in v1 as part of simplification of the reading model. Applications should instead use GetCurrentReading or GetNextReading / GetPreviousReading to walk the input stream.Version History
See also
Deprecated GameInput API membersIGameInput::GetCurrentReading
IGameInput::GetCurrentTimestamp
IGameInput
