5.4
CE195394_HID_Mouse
This code example demonstrates the use of the USBFS component to implement a HID mouse.
Using the standard HID mouse descriptor, the PSoC enumerates as a mouse on the PC. Once the
enumeration is complete the PSoC sends data about the relative movement of the mouse to the PC.
A single button is also implemented in the project to emulate the left button, or button 1, on a
standard mouse. You can hold down the button on the kit and watch the cursor highlight text or
select items on a desktop while it draws the box.
Figure 5-10. CE195394_HID_Mouse
For detailed operation, refer to the CE195394_HID_Mouse.pdf from PSoC Creator.
CY8CKIT-059 PSoC® 5LP Prototyping Kit Guide, Doc. #: 001-96498 Rev. *G
Code Examples
38
Need help?
Do you have a question about the CY8CKIT-059 PSoC 5LP Prototyping Kit and is the answer not in the manual?
Questions and answers