This is the code that uses jna to listen for mouse events.code detail.
I found that the scrolling code for the scroll wheel is 522, but I can't distinguish between up and down scrolling. Can I have a way to distinguish between sliding up and down the scroll wheel?