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

# IGameInputDevice::GetRawDeviceFeature

> IGameInputDevice::GetRawDeviceFeature

# IGameInputDevice::GetRawDeviceFeature

<Warning>**Deprecated.** This method was removed in GameInput v1 and is not available in the current API.</Warning>

Retrieves a feature report from the raw HID device.

## Syntax

```cpp theme={null}
HRESULT GetRawDeviceFeature(
    uint32_t reportId,
    IGameInputRawDeviceReport** report
);
```

### Parameters

*reportId*   \_In\_\
Type: uint32\_t

The HID report ID of the feature report to retrieve.

*report*   \_COM\_Outptr\_\
Type: IGameInputRawDeviceReport\*\*

The returned [IGameInputRawDeviceReport](/reference/input/gameinput/interfaces/igameinputrawdevicereport/igameinputrawdevicereport) interface.

### Return value

Type: HRESULT

Function result.

## Remarks

This method was removed in v1 and re-introduced in v3 as [IGameInputDevice::GetRawDeviceFeature](/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_getrawdevicefeature).

## Version History

| Version | Changes                                                                                                                                                                                            |
| ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **v3**  | Re-introduced with updated signature. See [IGameInputDevice::GetRawDeviceFeature](/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_getrawdevicefeature). |
| **v1**  | Removed.                                                                                                                                                                                           |
| **v0**  | Introduced.                                                                                                                                                                                        |

## See also

[Deprecated GameInput API members](/reference/input/gameinput/deprecated/gameinput_deprecated_members)\
[IGameInputRawDeviceReport](/reference/input/gameinput/interfaces/igameinputrawdevicereport/igameinputrawdevicereport)\
[IGameInputDevice](/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice)


## Related topics

- [IGameInputDevice](/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice.md)
- [IGameInputRawDeviceReport](/reference/input/gameinput/interfaces/igameinputrawdevicereport/igameinputrawdevicereport.md)
- [Deprecated GameInput API members](/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)
- [IGameInputDevice::SetRawDeviceFeature](/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_setrawdevicefeature.md)
- [IGameInputDevice::CreateRawDeviceReport](/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_createrawdevicereport.md)
