> ## 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.

# GameInputHapticFeedbackParams (非推奨)

> GameInputHapticFeedbackParams

# GameInputHapticFeedbackParams

> [!WARNING]
>
> **非推奨。** この構造体は GameInput v1 で削除され、現在の API では利用できません。

デバイス モーターで再生するハプティック フィードバック効果のパラメーターを記述します。

## 構文

```cpp theme={null}
typedef struct GameInputHapticFeedbackParams {
    uint32_t waveformIndex;
    uint64_t duration;
    float intensity;
    uint32_t playCount;
    uint64_t repeatDelay;
} GameInputHapticFeedbackParams;
```

## メンバー

**waveformIndex**\
型: uint32\_t

再生する波形を識別するモーターの波形配列 (`GameInputHapticFeedbackMotorInfo.waveformInfo` 由来) へのインデックスです。

**duration**\
型: uint64\_t

効果の再生時間 (マイクロ秒単位) です。波形の既定の再生時間を使用するには 0 を設定します。

**intensity**\
型: float

効果の強度で、範囲は \[0.0, 1.0] です。

**playCount**\
型: uint32\_t

波形を繰り返し再生する回数です。無期限に繰り返す場合は 0 を設定します。

**repeatDelay**\
型: uint64\_t

繰り返し間の遅延 (マイクロ秒単位) です。

## バージョン履歴

| バージョン | 変更内容 |
| - | - |
| **v1** | 削除されました。 |
| **v0** | 導入されました。 |

## 関連項目

[非推奨の GameInput API メンバー](https://docs.xbox.com/ja-jp/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
[IGameInputDevice::SetHapticMotorState](https://docs.xbox.com/ja-jp/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_sethapticmotorstate.md)
[GameInputHapticFeedbackMotorInfo](https://docs.xbox.com/ja-jp/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackmotorinfo.md)


## Related topics

- [GameInputHapticFeedbackMotorInfo (非推奨)](https://docs.xbox.com/ja-jp/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackmotorinfo.md)
- [GameInputHapticWaveformInfo (非推奨)](https://docs.xbox.com/ja-jp/reference/input/gameinput/deprecated/structs/gameinputhapticwaveforminfo.md)
- [IGameInputDevice::SetHapticMotorState (非推奨)](https://docs.xbox.com/ja-jp/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_sethapticmotorstate.md)
- [非推奨の GameInput API メンバー](https://docs.xbox.com/ja-jp/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
- [XBOX Accessibility Guideline 110](https://docs.xbox.com/ja-jp/build/game-principles/accessibility/xag-deep-dives/xag-110-haptic-feedback.md)
