• 0

[JAVA] Accessing/Controling System Devices


Question

Programming in Java

are there anyway to read or write directly to or from system devices such as serial/usb/ps2 inputs (or /dev/mouse , /dev/usb/...)?

also wondering if it is possible to control the mouse cursors position on the screen and simulate mouse/keyboard events (keypress/mousemove) in the window under focus?

thanks in advance for any suggestions

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

I havent done anything like what you want to do, but I believe the answer is yes to devices. You need to learn and understand the Java Jini API to do what you want to do. In fact if you want to simulate keypresses outside of the Java VM, ie. in key presses in windows you will need to learn jini.

Sorry couldnt help you with any code

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.