Is JUCE able to capture/intercept low-level keyboard input?
I've been looking into this on OSX. I eventually found DDHidLib: https://github.com/Daij-Djan/DDHidLib
A few years ago I accomplished something similar on Windows -- it wasn't as hard as I was expecting.
Linux I have no idea. And on mobile devices I'm not sure if the task is meaningful.