Any HID support for Java?

K

Kevin

Human Interface Device (mouse, etc)

Does anyone know whether java support the HID devices? (under MS
Windows)

I checked the document but did not see any. A google on this group
also returns little information.

Thanks a lot.
 
H

Hal Rosser

Kevin said:
Human Interface Device (mouse, etc)

Does anyone know whether java support the HID devices? (under MS
Windows)

I checked the document but did not see any. A google on this group
also returns little information.

Thanks a lot.

which document did you check?
Look in the API and search for mouselistener, or more generally, search for
'listener'.
Here's one to get you started
http://java.sun.com/j2se/1.4.2/docs/api/java/awt/event/MouseListener.html

there's also other "listener" interfaces and adapter classes.
 
K

Kevin

Oh, my bad. Yeah, java support mouse, I just had an bad example.

How about other HID devices? Such as joysticks, drawing pen (digital
pen, etc). I know there are some thrid party library which may do some
of the work, but how about the "original" support from Sun's java?
From my limited knowledge, I heard the HID is a special class of
devices, so I assume they may need a special library and APIs to
support them.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,053
Latest member
BrodieSola

Latest Threads

Top