Any HID support for Java?  
Author Message
Kevin





PostPosted: 2007-6-5 7:04:00 Top

java-programmer, Any HID support for Java? 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.

 
Hal Rosser





PostPosted: 2007-6-5 7:19:00 Top

java-programmer >> Any HID support for Java?
"Kevin" <email***@***.com> wrote in message
news:email***@***.com...
> 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.


 
Kevin





PostPosted: 2007-6-5 23:44:00 Top

java-programmer >> Any HID support for Java?
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.

On Jun 4, 6:19 pm, "Hal Rosser" <email***@***.com> wrote:
> "Kevin" <email***@***.com> wrote in message
>
> news:email***@***.com...
>
> > 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 startedhttp://java.sun.com/j2se/1.4.2/docs/api/java/awt/event/MouseListener....
>
> there's also other "listener" interfaces and adapter classes.


 
 
Hunter Gratzner





PostPosted: 2007-6-6 2:41:00 Top

java-programmer >> Any HID support for Java? On Jun 5, 5:44 pm, Kevin <email***@***.com> wrote:
> how about the "original" support from Sun's java?

There is non. And stop top-posting.