forked from mirror/qmk_firmware
Massive corrections to the project documentation and code comments, thanks to Russian translation services provided by Andrey from Microsin.ru.
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
|
||||
/** \file
|
||||
*
|
||||
* Header file for MouseHost.c.
|
||||
* Header file for GenericHIDHost.c.
|
||||
*/
|
||||
|
||||
#ifndef _GENERICHID_HOST_H_
|
||||
|
||||
@@ -40,7 +40,7 @@ HID_ReportInfo_t HIDReportInfo;
|
||||
/** Function to read in the HID report descriptor from the attached device, and process it into easy-to-read
|
||||
* structures via the HID parser routines in the LUFA library.
|
||||
*
|
||||
* \return A value from the MouseHostWithParser_GetHIDReportDataCodes_t enum
|
||||
* \return A value from the \ref JoystickHostWithParser_GetHIDReportDataCodes_t enum
|
||||
*/
|
||||
uint8_t GetHIDReportData(void)
|
||||
{
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
* \section Sec_Description Project Description:
|
||||
*
|
||||
* Keyboard host demonstration application. This gives a simple reference
|
||||
* application for implementing a USB keyboard, for USB keyboards using
|
||||
* application for implementing a USB keyboard host, for USB keyboards using
|
||||
* the standard keyboard HID profile.
|
||||
*
|
||||
* Pressed alpha-numeric, enter or space key is transmitted through the serial
|
||||
|
||||
@@ -40,7 +40,7 @@ HID_ReportInfo_t HIDReportInfo;
|
||||
/** Function to read in the HID report descriptor from the attached device, and process it into easy-to-read
|
||||
* structures via the HID parser routines in the LUFA library.
|
||||
*
|
||||
* \return A value from the KeyboardHostWithParser_GetHIDReportDataCodes_t enum
|
||||
* \return A value from the \ref KeyboardHostWithParser_GetHIDReportDataCodes_t enum
|
||||
*/
|
||||
uint8_t GetHIDReportData(void)
|
||||
{
|
||||
|
||||
@@ -137,7 +137,7 @@ void ReadNextReport(void)
|
||||
/* Select mouse data pipe */
|
||||
Pipe_SelectPipe(MOUSE_DATA_IN_PIPE);
|
||||
|
||||
/* Unfreeze keyboard data pipe */
|
||||
/* Unfreeze mouse data pipe */
|
||||
Pipe_Unfreeze();
|
||||
|
||||
/* Check to see if a packet has been received */
|
||||
|
||||
@@ -40,7 +40,7 @@ HID_ReportInfo_t HIDReportInfo;
|
||||
/** Function to read in the HID report descriptor from the attached device, and process it into easy-to-read
|
||||
* structures via the HID parser routines in the LUFA library.
|
||||
*
|
||||
* \return A value from the MouseHostWithParser_GetHIDReportDataCodes_t enum
|
||||
* \return A value from the \ref MouseHostWithParser_GetHIDReportDataCodes_t enum
|
||||
*/
|
||||
uint8_t GetHIDReportData(void)
|
||||
{
|
||||
|
||||
@@ -219,7 +219,7 @@ uint8_t SImage_SendData(void* const Buffer,
|
||||
return ErrorCode;
|
||||
}
|
||||
|
||||
/** Function to receive the given data to the device, after a response block has been received.
|
||||
/** Function to receive the given data from the device, after a response block has been received.
|
||||
*
|
||||
* \param[out] Buffer Destination data buffer to put read bytes from the device
|
||||
* \param[in] Bytes Number of bytes to receive
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
*
|
||||
* This demo prints out received CDC data through the serial port.
|
||||
*
|
||||
* Not that this demo is only compatible with devices which report the correct CDC
|
||||
* Note that this demo is only compatible with devices which report the correct CDC
|
||||
* and ACM class, subclass and protocol values. Most USB-Serial cables have vendor
|
||||
* specific features, thus use vendor-specific class/subclass/protocol codes to force
|
||||
* the user to use specialized drivers. This demo is not compatible with such devices.
|
||||
|
||||
Reference in New Issue
Block a user