CY4636 WirelessUSB™ LP Keyboard Mouse Reference Design Kit User Guide, Doc. # 001-70355 Rev. *A
117
IsOpenExclusive()
Public
This method is used to report if the handle open to the HID device is
setup for exclusive access.
GetHandle()
Public
This method returns the handle to the HID device.
Read()
Public
This method reads an input report from the HID device, performs a valid-
ity check, and unpacks the report data.
Write()
Public
This method is used for every report ID, pack a report buffer and write the
report data to the HID device.
GetFeature()
Public
This method obtains the feature report from each report ID exposed by
the HID device.
SetFeature()
Public
This method sends a feature report for each report ID exposed by the
HID device.
UnpackReport()
Public
This method scans through the HID report and if it can, fills in any data in
the structures.
PackReport()
Public
This method packages the HID report based on the data in the structures.
GetManufacturerString() Public
This method obtains the USB manufacturer string from the HID device.
GetProductString()
Public
This method obtains the USB product string from the HID device.
GetSerialNumber-
String()
Public
This method obtains the USB serial number string from the HID device.
RegGetValue()
Public
This method attempts to get a registry value from the registry key where
the device-specific configuration information for the HID device
is stored.
RegSetValue()
Public
This method attempts to set a registry value in the registry key where the
device-specific configuration information for the HID device is stored.
SetupHidDevice()
Protected
This method sets up HID Input, Output and Feature data buffers used to
simplify communication with HID devices.
ValidateHidDevice()
Protected
This method simply returns TRUE, it is expected that this routine will be
overridden by the application where the actual validation will be handled.
Table A-10. CHidDeviceClass Methods
(continued)
Method
Type
Description