开发者

java programing with hardware

开发者 https://www.devze.com 2023-02-09 01:20 出处:网络
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 strokeDo you mean, can the

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号