java programing with hardware
just wanted to know if it is possible to send int开发者_开发技巧errupts to a java code which is running in background or foreground(with no console), whenever there is a key stroke
Do you mean, can the console be used in a non-line-buffering mode?
In that case, you can't do it with pure Java. You can do it with a fairly simple JNI library and if you google there may be an open source one available.
精彩评论