OK, I am looking for ideas. I have gone down a couple rabbit holes and made some overly complicated solutions that don’t work.
I am looking for a way to handle keyboard input jme regardless to if jfx is focused or not. But when jfx consumes an event (like typing in a text field, hitting tab to change focus, pressing enter to activate a button) I want that event to not hit jme. Everything else I would like to be forwarded to jme.
An example of a UI where this behavior is desired. When I have my world editor open, I am in third person view. I would like to still be able to use the AWSD keys to walk around, but also want to be able to interact with my jfx menu. Basically, regardless of if jfx has focus I want all game key events to still be forwarded to jme, but if I go to type in a text field in that UI, I do not want those key events to hit jme.
Another example is I have a character creator, and use AWSD to move the character around. I still want those to work after I have moved a slider without having to click off of the jfx ui.