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

# IGameInput::GetTemporalReading (Deprecated)

> IGameInput::GetTemporalReading

> [!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

```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](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getcurrenttimestamp.md) to get the current time.

*windowSize*   \_In\_\
Type: uint64\_t

The size of the interpolation window around `targetTime`, in microseconds.

*inputKind*   \_In\_\
Type: [GameInputKind](https://docs.xbox.com/reference/input/gameinput/enums/gameinputkind.md)

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](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getcurrentreading.md) or [GetNextReading](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getnextreading.md) / [GetPreviousReading](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getpreviousreading.md) to walk the input stream.

## Version History

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

## See also

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


## Related topics

- [IGameInputReading::GetTouchCount (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_gettouchcount.md)
- [IGameInputReading::GetTouchState (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_gettouchstate.md)
- [IGameInputReading::GetMotionState (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_getmotionstate.md)
- [IGameInputReading::GetUiNavigationState (Deprecated)](https://docs.xbox.com/reference/input/gameinput/deprecated/interfaces/igameinputreading/methods/igameinputreading_getuinavigationstate.md)
- [IGameInput::GetPreviousReading](https://docs.xbox.com/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getpreviousreading.md)
