> ## 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 (déprécié)

> IGameInput::GetTemporalReading

# IGameInput::GetTemporalReading

> [!WARNING]
>
> **Déconseillé.** Cette méthode a été supprimée dans GameInput v1 et n'est pas disponible dans l'API actuelle.

Obtient une lecture d'entrée interpolée à un moment précis.

## Syntaxe

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

### Paramètres

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

L'horodatage cible, en microsecondes. Utilisez [IGameInput::GetCurrentTimestamp](https://docs.xbox.com/fr-CA/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getcurrenttimestamp.md) pour obtenir l'heure actuelle.

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

La taille de la fenêtre d'interpolation autour de `targetTime`, en microsecondes.

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

Le type d'entrée à récupérer.

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

Un filtre facultatif qui limite le résultat à un périphérique précis.

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

La lecture interpolée résultante.

### Valeur de retour

Type : HRESULT

Retourne E\_NOTIMPL, car cette méthode n'a jamais été implémentée dans v0.

## Remarques

Cette méthode servait à récupérer une lecture d'entrée interpolée à un moment précis, ce qui était utile pour les applications devant mettre en corrélation les entrées avec l'horodatage d'une image précise. Elle a été supprimée dans v1 dans le cadre d'une simplification du modèle de lecture. Les applications doivent plutôt utiliser [GetCurrentReading](https://docs.xbox.com/fr-CA/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getcurrentreading.md) ou [GetNextReading](https://docs.xbox.com/fr-CA/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getnextreading.md) / [GetPreviousReading](https://docs.xbox.com/fr-CA/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getpreviousreading.md) pour parcourir le flux d'entrée.

## Historique des versions

| Version | Modifications |
| - | - |
| **v1** | Supprimé. |
| **v0** | Introduit. |

## Voir aussi

[Membres déconseillés de l'API GameInput](https://docs.xbox.com/fr-CA/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)\
[IGameInput::GetCurrentReading](https://docs.xbox.com/fr-CA/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getcurrentreading.md)\
[IGameInput::GetCurrentTimestamp](https://docs.xbox.com/fr-CA/reference/input/gameinput/interfaces/igameinput/methods/igameinput_getcurrenttimestamp.md)\
[IGameInput](https://docs.xbox.com/fr-CA/reference/input/gameinput/interfaces/igameinput/igameinput.md)


## Related topics

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