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

# IGameInputDevice::SetHapticMotorState (사용되지 않음)

> IGameInputDevice::SetHapticMotorState

# IGameInputDevice::SetHapticMotorState

> [!WARNING]
>
> **사용되지 않음.** 이 메서드는 GameInput v1에서 제거되었으며 현재 API에서는 사용할 수 없습니다.

디바이스의 지정된 모터에 대한 햅틱 모터 상태를 설정합니다.

## 구문

```cpp theme={null}
HRESULT SetHapticMotorState(
    uint32_t motorIndex,
    const GameInputHapticFeedbackParams* params
);
```

### 매개변수

*motorIndex*   \_In\_\
형식: uint32\_t

설정할 햅틱 모터의 0부터 시작하는 인덱스입니다.

*params*   \_In\_\
형식: const [GameInputHapticFeedbackParams](https://docs.xbox.com/ko/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackparams.md)\*

재생할 햅틱 효과를 설명하는 [GameInputHapticFeedbackParams](https://docs.xbox.com/ko/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackparams.md) 구조체에 대한 포인터입니다.

### 반환값

형식: HRESULT

이 메서드는 v0에서 구현된 적이 없으므로 E\_NOTIMPL을 반환합니다.

## 설명

이 메서드는 [GameInputHapticFeedbackParams](https://docs.xbox.com/ko/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackparams.md) 구조체와 함께 v1에서 제거되었습니다. 현재 API에서 햅틱 피드백은 [IGameInputDevice::SetForceFeedbackMotorGain](https://docs.xbox.com/ko/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_setforcefeedbackmotorgain.md) 및 [IGameInputForceFeedbackEffect](https://docs.xbox.com/ko/reference/input/gameinput/interfaces/igameinputforcefeedbackeffect/igameinputforcefeedbackeffect.md)를 통해 제어됩니다.

## 버전 기록

| 버전 | 변경 사항 |
| - | - |
| **v1** | 제거됨. |
| **v0** | 도입됨. |

## 함께 보기

[사용되지 않는 GameInput API 멤버](https://docs.xbox.com/ko/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)\
[GameInputHapticFeedbackParams](https://docs.xbox.com/ko/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackparams.md)\
[IGameInputDevice](https://docs.xbox.com/ko/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice.md)


## Related topics

- [GameInputHapticFeedbackParams (사용되지 않음)](https://docs.xbox.com/ko/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackparams.md)
- [IGameInputDevice::SetInputSynchronizationState (사용되지 않음)](https://docs.xbox.com/ko/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_setinputsynchronizationstate.md)
- [GameInputHapticFeedbackMotorInfo (사용되지 않음)](https://docs.xbox.com/ko/reference/input/gameinput/deprecated/structs/gameinputhapticfeedbackmotorinfo.md)
- [IGameInputDevice::SendInputSynchronizationHint (사용되지 않음)](https://docs.xbox.com/ko/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_sendinputsynchronizationhint.md)
- [GameInputHapticWaveformInfo (사용되지 않음)](https://docs.xbox.com/ko/reference/input/gameinput/deprecated/structs/gameinputhapticwaveforminfo.md)
