PORTS Forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
This forum is closed to new activity.
The posts are available to browse, but posting has been disabled. BIG THANKS to all who have participated and shared your knowledge over the past 13 years.
Aug 11, 2023
Home
Help
Search
Login
Register
PORTS Forum
»
Ports and Interfaces
»
USB
»
How to read data form HID-compliant device?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How to read data form HID-compliant device? (Read 16813 times)
qmail03
Member
Posts: 2
How to read data form HID-compliant device?
«
on:
May 09, 2012, 04:25:04 pm »
I have a touch screen,in WINDOWS7,it's hardwere is a HID-compliant device.I use SimpleHIDWrite(
http://www.lvr.com/files/SimpleHIDWrite3.zip),to
read touch screen's tough DATa, it's worked.How SimpleHIDWrite read data form HID device?have some example?VB OR VC C C#.....
«
Last Edit: May 09, 2012, 04:33:26 pm by qmail03
»
Logged
Jan Axelson
Administrator
Frequent Contributor
Posts: 3033
Re: How to read date form HID-compliant device?
«
Reply #1 on:
May 09, 2012, 04:30:24 pm »
I have example code for communicating with generic HIDs (anything that doesn't appear as a system mouse or keyboard) here:
http://www.janaxelson.com/hidpage.htm#MyExampleCode
Jan
«
Last Edit: July 13, 2014, 09:59:09 pm by Jan Axelson
»
Logged
qmail03
Member
Posts: 2
Re: How to read data form HID-compliant device?
«
Reply #2 on:
May 09, 2012, 04:50:18 pm »
I already try you code ,but it's can not read data like SimpleHIDWrite,see Attach file jpg
[attachment deleted by admin]
Logged
Jan Axelson
Administrator
Frequent Contributor
Posts: 3033
Re: How to read data form HID-compliant device?
«
Reply #3 on:
May 09, 2012, 10:55:04 pm »
If the device appears as a system mouse or keyboard, use Raw Input.
http://msdn.microsoft.com/en-us/library/windows/desktop/ms645536%28v=vs.85%29.aspx
Jan
Logged
Print
Pages: [
1
]
« previous
next »
PORTS Forum
»
Ports and Interfaces
»
USB
»
How to read data form HID-compliant device?