简体   繁体   中英

Sending input to application from Java?

Platform is windows only. From Java I'd like to send input (key strokes and mouse clicks) to the current running application (it's a full screen directx app if that matters).

I know theoretically I could use JNI/JNA to access the Win32 API and use or the like, but honestly not familiar with those nor the win32 api. I'm hoping there is a nice easy Java library out there that has already wrapped this all up in a nice neat package?

Take a look at this .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM