Are there any Kotlin/Java libraries similar to Pynput? I've put together a simple shortkey program with a GUI written in Python, but I would like to recreate it with Kotlin and Compose.
m
Michael Paus
05/28/2022, 11:12 AM
Monitoring the mouse is part of the Compose API and you don’t need any external libraries for that. I am not so sure about controlling the mouse.
j
Josh Rose
05/28/2022, 4:03 PM
Thanks for the reply! I would be more interested in monitoring and controlling the keyboard. But if the Compose API also covers monitoring the keyboard, I'd be interested to know where in the documentation I could find out more about it. From there I could hopefully figure out the rest.
m
Michael Paus
05/28/2022, 4:52 PM
Sorry, I can’t help you with the keyboard. I am just using what the text field has to offer there.