Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 5 > How to start communication between MSPaint and my PSoC5 DVK which registers as a hid device in PC?

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



How to start communication between MSPaint and my PSoC5 DVK which registers as a hid device in PC?
Moderator:
ANCY

Post Reply
Follow this topic



How to start communication between MSPaint and my PSoC5 DVK which registers as a hid device in PC?

jacktan posted on 02 Mar 2012 5:03 PM PST
Top Contributor
26 Forum Posts

Hello everybody:

I want  to use my PSoC5 DVK which registers as a HID device in PC to communicate with MSPaint, and as you know MSPaint in windows7 surport multi-touch function, I want to use this function to test my touch based system, but i don't know how to  achieve this testing function. Can you give me some suggestion?




Re: How to start communication between MSPaint and my PSoC5 DVK which registers as a hid device in PC?

Bob Marlowe posted on 04 Mar 2012 09:02 AM PST
Top Contributor
1768 Forum Posts

As far as I know, after enumerating as a HID (human interface device) you must generate "Reports" for the actions you want to transmit to your host. As I've seen, windows seems to have lesser problems (or less?) than linux has got. The reports are strongly formatted data structures and are described similar as the USB-device descripion. I've not (yet) found a complete documentation, but a good guess will always be to ask mrs. google for "hid mouse format" which gives a reasonable number of links.

 

Happy Googling

Bob 



Re: How to start communication between MSPaint and my PSoC5 DVK which registers as a hid device in PC?

jacktan posted on 04 Mar 2012 05:21 PM PST
Top Contributor
26 Forum Posts

Thanks for you reply, I will gooling for some information!



Re: How to start communication between MSPaint and my PSoC5 DVK which registers as a hid device in PC?

U2 posted on 05 Mar 2012 11:23 PM PST
Cypress Employee
589 Forum Posts

 If you are trying to implement multitoouch input and use it on Windows 7. It should be as simple as creating a HID report descriptor. You can create a HID device with Report descriptor as shown in the document that is attached. 

 

 



Re: How to start communication between MSPaint and my PSoC5 DVK which registers as a hid device in PC?

jacktan posted on 05 Mar 2012 07:01 PM PST
Top Contributor
26 Forum Posts

Dear U2:

As you recommended above, I have created an HID report descriptor in my USB component under the following guidence file released by MS, but when i tranferred message to the MSpaint, MSpaint had no response to those message! and that is i can no nothing about it!






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20