1 Reply Latest reply on Jun 18, 2011 1:50 AM by udayan.umapathi

    Dual enumeration with PSoC3 as USB mouse AND joystick

    john.jolley

      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.

        • 1. Re: Dual enumeration with PSoC3 as USB mouse AND joystick
          udayan.umapathi
                
          • 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
          •