Ports
May 22, 2013, 02:20:05 pm
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: SMF - Just Installed!
Home
Help
Search
Login
Register
Welcome to the PORTS Forum. Please post your questions, answers, and comments relating to USB and other hardware interfaces in the appropriate forums below. - Jan
Ports
>
General Category
>
USB
>
How to read data form HID-compliant device?
Pages: [
1
]
« previous
next »
Print
Author
Topic: How to read data form HID-compliant device? (Read 2160 times)
qmail03
Member
Posts: 2
How to read data form HID-compliant device?
«
on:
May 09, 2012, 03: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, 03:33:26 pm by qmail03
»
Logged
Jan Axelson
Administrator
Frequent Contributor
Posts: 1629
Re: How to read date form HID-compliant device?
«
Reply #1 on:
May 09, 2012, 03: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.lvr.com/hidpage.htm#MyExampleCode
Jan
Logged
qmail03
Member
Posts: 2
Re: How to read data form HID-compliant device?
«
Reply #2 on:
May 09, 2012, 03:50:18 pm »
I already try you code ,but it's can not read data like SimpleHIDWrite,see Attach file jpg
Logged
Jan Axelson
Administrator
Frequent Contributor
Posts: 1629
Re: How to read data form HID-compliant device?
«
Reply #3 on:
May 09, 2012, 09: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
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> USB
=> Serial Ports
=> Embedded Ethernet
=> Parallel Port
=> Other Interfaces
=> General Discussion
Loading...