EasyManua.ls Logo

Cypress CY8CKIT-059 PSoC 5LP Prototyping Kit - CE195394_HID_Mouse

Cypress CY8CKIT-059 PSoC 5LP Prototyping Kit
48 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CY8CKIT-059 PSoCĀ® 5LP Prototyping Kit Guide, Doc. #: 001-96498 Rev. *G 38
Code Examples
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.

Related product manuals