Download Jar. Uses 408K of libraries. Click here for Pure Java version (700L/5K).
!7 p { onGlobalKeyPress(voidfunc(NativeKeyEvent e) { print("Key press: " + e.getKeyCode(); }); onGlobalKeyRelease(voidfunc(NativeKeyEvent e) { print("Key release: " + e.getKeyCode(); }); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, imzmzdywqqli, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1010549 |
Snippet name: | Test onGlobalKeyPress + onGlobalKeyRelease |
Eternal ID of this version: | #1010549/3 |
Text MD5: | c86f82ced34a0acc9f38bef5f1db8124 |
Transpilation MD5: | 21fd68939459ae246c11c4c1155d0489 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-20 17:59:55 |
Source code size: | 218 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 458 / 1142 |
Version history: | 2 change(s) |
Referenced in: | #1010770 - Global Hotkey (Escape) #1015114 - Test onGlobalMousePress + onGlobalMouseRelease (OK!) |