mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-16 12:51:47 +00:00
Merge pull request #7 from mondalaci/hidclassdevice_whitespaces
Use spaces instead of tabs where necessary to fix indentation.
This commit is contained in:
commit
8e2476a125
@ -91,13 +91,13 @@
|
|||||||
* stored by the driver, for comparison purposes to detect report changes that
|
* stored by the driver, for comparison purposes to detect report changes that
|
||||||
* must be sent immediately to the host. This should point to a buffer big enough
|
* must be sent immediately to the host. This should point to a buffer big enough
|
||||||
* to hold the largest HID input report sent from the HID interface. If this is set
|
* to hold the largest HID input report sent from the HID interface. If this is set
|
||||||
* to \c NULL, it is up to the user to force transfers when needed in the
|
* to \c NULL, it is up to the user to force transfers when needed in the
|
||||||
* \ref CALLBACK_HID_Device_CreateHIDReport() callback function.
|
* \ref CALLBACK_HID_Device_CreateHIDReport() callback function.
|
||||||
*
|
*
|
||||||
* \note Due to the single buffer, the internal driver can only correctly compare
|
* \note Due to the single buffer, the internal driver can only correctly compare
|
||||||
* subsequent reports with identical report IDs. In multiple report devices,
|
* subsequent reports with identical report IDs. In multiple report devices,
|
||||||
* this buffer should be set to \c NULL and the decision to send reports made
|
* this buffer should be set to \c NULL and the decision to send reports made
|
||||||
* by the user application instead.
|
* by the user application instead.
|
||||||
*/
|
*/
|
||||||
uint8_t PrevReportINBufferSize; /**< Size in bytes of the given input report buffer. This is used to create a
|
uint8_t PrevReportINBufferSize; /**< Size in bytes of the given input report buffer. This is used to create a
|
||||||
* second buffer of the same size within the driver so that subsequent reports
|
* second buffer of the same size within the driver so that subsequent reports
|
||||||
|
@ -93,7 +93,7 @@
|
|||||||
#if !defined(HID_HOST_BOOT_PROTOCOL_ONLY)
|
#if !defined(HID_HOST_BOOT_PROTOCOL_ONLY)
|
||||||
HID_ReportInfo_t* HIDParserData; /**< HID parser data to store the parsed HID report data, when boot protocol
|
HID_ReportInfo_t* HIDParserData; /**< HID parser data to store the parsed HID report data, when boot protocol
|
||||||
* is not used.
|
* is not used.
|
||||||
*
|
*
|
||||||
* \note When the \c HID_HOST_BOOT_PROTOCOL_ONLY compile time token is defined,
|
* \note When the \c HID_HOST_BOOT_PROTOCOL_ONLY compile time token is defined,
|
||||||
* this field is unavailable.
|
* this field is unavailable.
|
||||||
*/
|
*/
|
||||||
@ -120,9 +120,9 @@
|
|||||||
|
|
||||||
uint8_t LargestReportSize; /**< Largest report the device will send, in bytes. */
|
uint8_t LargestReportSize; /**< Largest report the device will send, in bytes. */
|
||||||
} State; /**< State data for the USB class interface within the device. All elements in this section
|
} State; /**< State data for the USB class interface within the device. All elements in this section
|
||||||
* <b>may</b> be set to initial values, but may also be ignored to default to sane values when
|
* <b>may</b> be set to initial values, but may also be ignored to default to sane values when
|
||||||
* the interface is enumerated.
|
* the interface is enumerated.
|
||||||
*/
|
*/
|
||||||
} USB_ClassInfo_HID_Host_t;
|
} USB_ClassInfo_HID_Host_t;
|
||||||
|
|
||||||
/* Enums: */
|
/* Enums: */
|
||||||
|
Loading…
Reference in New Issue
Block a user