Anonymous
Not applicable
Jun 17, 2011
12:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 17, 2011
12:17 PM
Hi.
we have an application that requires a single USB connection to enumerate as two devices, joystick and mouse. Is there an existing example of how this might be done using PSoC3?
John.
Labels
- Labels:
-
PSoC 3
1 Reply
Anonymous
Not applicable
Jun 18, 2011
01:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 18, 2011
01:50 AM
- It is possible to achieve this with PSoC3 by configuring the USB device configuration in PSoC Creator approriately. PSoC3 needs to be configured as a USB HID device. Every HID device according to USB spec, is supposed to have what is called a HID report. This report is the format in which the device data(Mouse click and movement, keyboard data, Joystick data) is transferred from USB device(PSoC3) to Host.
- To have a mouse and a joystick, two such HID reports have to be created. One report for mouse and one for Joystick. Each report should have a unique report ID.
- To get started with HID device, the following App note should help you, http://www.cypress.com/?rID=39404
- To create a HID Composite device(Mouse and Joystick), the following App note should help you, http://www.cypress.com/?rID=39404