• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Controlling Mouse / Pedal from USB in Multi Platforms

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is their a Package or Classes that can detect device from USB ports in different OS (ie Windows,LINUX & UNIX)? And can this be used in JSP? Thanks in Advance. . .
 
Bartender
Posts: 4121
IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is an open source project on SourceForge called jUSB that looks like it supports java USB access, but it only works on Linux so far. I don't think there is currently a platform-independent USB package, but there is a request for one in the works.

However, the part of your question about JSP confuses me... JSP is used to generate web pages on a server, and send these to a client to be displayed in a web browser. Since the JSP only actually runs on the server, then just sends HTML text to the client, there is no way for the JSP itself to actually control anything on the clients machine, even if there were a way to talk to the USB device. You'll have to use something that runs on the client side, like a regular application, or an aplication that is started through WebStart, or, if you want it to run inside the browser, you'll have to use an Applet.
 
reply
    Bookmark Topic Watch Topic
  • New Topic