HidGameControllerProvider.GetFeatureReport(Byte, Byte[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the specified HID (Human Interface Device) feature report from the controller.
public:
virtual void GetFeatureReport(byte reportId, Platform::Array <byte> ^ reportBuffer) = GetFeatureReport;
void GetFeatureReport(byte const& reportId, winrt::array_view <byte> & reportBuffer);
public void GetFeatureReport(byte reportId, byte[] reportBuffer);
function getFeatureReport(reportId, reportBuffer)
Public Sub GetFeatureReport (reportId As Byte, reportBuffer As Byte())
Parameters
- reportId
-
Byte
byte
The ID of the report to get.
- reportBuffer
-
Byte[]
byte[]
The buffer in which the report data is returned.
Remarks
When using this method for your own custom classes, make sure to pass in a valid report ID that is supported by your device; otherwise, the report buffer will be unchanged. Also make sure that your report buffer is the correct size for the type of report that you're requesting.
The report that you get from this method is the raw, unmodified version in its original format; no parsing is done on it.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for