Dual enumeration with PSoC3 as USB mouse AND joystick

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

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.

0 Likes
1 Reply
Anonymous
Not applicable
        
  • 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
  •    
0 Likes