> ## 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>**En desuso.** Este método se quitó en GameInput v1 y no está disponible en la API actual.</Warning>

Obtiene una lectura de entrada interpolada a un momento especificado en el tiempo.

## Sintaxis

```cpp theme={null}
HRESULT GetTemporalReading(
    uint64_t targetTime,
    uint64_t windowSize,
    GameInputKind inputKind,
    IGameInputDevice* device,
    IGameInputReading** reading
);
```

### Parámetros

*targetTime*   \_In\_\
Tipo: uint64\_t

La marca de tiempo de destino en microsegundos. Use [IGameInput::GetCurrentTimestamp](/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getcurrenttimestamp) para obtener la hora actual.

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

El tamaño de la ventana de interpolación alrededor de `targetTime`, en microsegundos.

*inputKind*   \_In\_\
Tipo: [GameInputKind](/reference/input/gameinput/enums/gameinputkind)

El tipo de entrada que se va a recuperar.

*device*   \_In\_opt\_\
Tipo: IGameInputDevice\*

Un filtro opcional que limita el resultado a un dispositivo específico.

*reading*   \_COM\_Outptr\_\
Tipo: IGameInputReading\*\*

La lectura interpolada resultante.

### Valor devuelto

Tipo: HRESULT

Devuelve E\_NOTIMPL, ya que este método nunca se implementó en v0.

## Comentarios

Este método se usaba para recuperar una lectura de entrada que se había interpolado a un momento específico en el tiempo, lo que resultaba útil para las aplicaciones que necesitaban correlacionar la entrada con la marca de tiempo de un fotograma específico. Se quitó en v1 como parte de la simplificación del modelo de lecturas. En su lugar, las aplicaciones deben usar [GetCurrentReading](/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getcurrentreading) o [GetNextReading](/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getnextreading) / [GetPreviousReading](/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getpreviousreading) para recorrer la secuencia de entrada.

## Historial de versiones

| Versión | Cambios       |
| ------- | ------------- |
| **v1**  | Se quitó.     |
| **v0**  | Se introdujo. |

## Consulte también

[Miembros de la API de GameInput en desuso](/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](/es/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getpreviousreading.md)
- [IGameInput::GetNextReading](/es/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getnextreading.md)
- [IGameInput::GetCurrentReading](/es/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getcurrentreading.md)
- [IGameInputReading::GetInputKind](/es/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getinputkind.md)
- [IGameInputReading::GetDevice](/es/reference/input/gameinput/interfaces/igameinputreading/methods/igameinputreading_getdevice.md)
