[SOLVED] Elgato Stream Deck for key triggering

Hello,

I’m using key input from the keyboard in my programm for “steering”.

example

inputManager.addMapping("Key_A", new KeyTrigger(KeyInput.KEY_S));
inputManager.addMapping("Key_D", new KeyTrigger(KeyInput.KEY_S));
inputManager.addMapping("Key_W", new KeyTrigger(KeyInput.KEY_S));
inputManager.addMapping("Key_S", new KeyTrigger(KeyInput.KEY_S));
inputManager.addListener(analogListener, "Key_A","Key_D","Key_W","Key_S",    

private AnalogListener analogListener = new AnalogListener() {
	@Override
    public void onAnalog(String name, float value, float tpf) {
	
	if (name.equals("Key_A")){ 
		// do this
	} else 	...
		

Everything is working fine so far when i use the keyboard.
But when I want to use a USB-device to trigger the keys (Elgato Stream Deck) it is not working.
Not in the editor of the IDE an not in the running program.

But it works fine in every other application on the desktop (Editor, Outlook, Teams…)

Does anybody have an idea?

Add a RawInputListener and log what you are getting in each of the methods.

I could solve the problem by re-install of a new version of JME-IDE. (I still used 3.3.2).
Update: No, I didn’t.
It worked on one PC. On two other PCs it didn’t.
I will try the RawInputListeners now.

I solved the problem by starting the Streamdeck.exe in adminstrator-mode.

1 Like