lib 1010545 // JNativeHook static LS _stickyLibs_1010550 = ll(#1010545); import org.jnativehook.GlobalScreen; import org.jnativehook.keyboard.NativeKeyEvent; import org.jnativehook.keyboard.NativeKeyAdapter; static volatile bool jnativehook_inited; static void jnativehook_init() ctex { if (jnativehook_inited) ret; try { jnativehook_init2(); } catch e { print("jnativehook_init fail: " + e.getMessage()); if (contains(e.getMessage(), "libxkbcommon")) fail("Please try: sudo apt-get install libxkbcommon", e); throw rethrow(e); } jnativehook_inited = true; } svoid jnativehook_init2() ctex { java.util.logging.Logger.getLogger(GlobalScreen.class.getPackage().getName()).setLevel(java.util.logging.Level.OFF); GlobalScreen.registerNativeHook(); }
Began life as a copy of #1010548
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1010550 |
Snippet name: | jnativehook_init |
Eternal ID of this version: | #1010550/12 |
Text MD5: | aa6f2a035279629e46fb8cf28a9a59b0 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-12-28 20:38:47 |
Source code size: | 814 bytes / 27 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 402 / 507 |
Version history: | 11 change(s) |
Referenced in: | [show references] |