Is there any JAR libraries that allow to create global Windows hotkeys? [closed]

StackOverflow https://stackoverflow.com/questions/19741406

  •  03-07-2022
  •  | 
  •  

Domanda

I want to create such application where it performs some action on clicking hotkey, BUT these hotkeys should be able to be pressed without being focused on my application. I mean, you could run some game(for example) and these global hotkeys stll work.

SO...is there any JAR libraries that allow to do this?

È stato utile?

Soluzione

You should take a look at JNativeHook: https://code.google.com/p/jnativehook/

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top