Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Warning
Deprecated. This method was removed in GameInput v1 and is not available in the current API.
Gets an input reading interpolated to a specified point in time.
Syntax
HRESULT GetTemporalReading(
uint64_t targetTime,
uint64_t windowSize,
GameInputKind inputKind,
IGameInputDevice* device,
IGameInputReading** reading
);
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
| Version | Changes |
|---|---|
| v1 | Removed. |
| v0 | Introduced. |
See also
Deprecated GameInput API members
IGameInput::GetCurrentReading
IGameInput::GetCurrentTimestamp
IGameInput