I am writing a program as a part of a personal project. I need to create an event listener for hardware changes in order to continue the project.
I tried to used JNA 5.13.0 to do this but it was unsuccessful.
The programme runs on macOS. Can anyone tell me a way to do this. I have never worked with native libraries before.