You are here

Dual enumeration with PSoC3 as USB mouse AND joystick | Cypress Semiconductor

Dual enumeration with PSoC3 as USB mouse AND joystick

Summary: 1 Reply, Latest post by U2 on 18 Jun 2011 01:50 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
johnjolley's picture
User
1 post

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.

U2
uday's picture
Cypress Employee
569 posts
  • 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
Log in to post new comments.