> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# IGameInput::GetTemporalReading

> IGameInput::GetTemporalReading

# IGameInput::GetTemporalReading

<Warning>**Deprecated.** This method was removed in GameInput v1 and is not available in the current API.</Warning>

Gets an input reading interpolated to a specified point in time.

## Syntax

```cpp theme={null}
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](/reference/input/gameinput/interfaces/igameinput/methods/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](/reference/input/gameinput/enums/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](/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getcurrentreading) or [GetNextReading](/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getnextreading) / [GetPreviousReading](/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getpreviousreading) to walk the input stream.

## Version History

| Version | Changes     |
| ------- | ----------- |
| **v1**  | Removed.    |
| **v0**  | Introduced. |

## See also

[Deprecated GameInput API members](/reference/input/gameinput/deprecated/gameinput_deprecated_members)\
[IGameInput::GetCurrentReading](/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getcurrentreading)\
[IGameInput::GetCurrentTimestamp](/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getcurrenttimestamp)\
[IGameInput](/reference/input/gameinput/interfaces/igameinput/igameinput)


## Related topics

- [IGameInput::GetPreviousReading](/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getpreviousreading.md)
- [IGameInput::GetCurrentReading](/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getcurrentreading.md)
- [IGameInput::GetNextReading](/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getnextreading.md)
- [IGameInputReading::GetInputKind](/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getinputkind.md)
- [IGameInputReading::GetDevice](/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getdevice.md)
