Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

11
LINES

< > BotCompany Repo | #1010549 // Test onGlobalKeyPress + onGlobalKeyRelease

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

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: 456 / 1139
Version history: 2 change(s)
Referenced in: [show references]