Download Jar. Uses 408K of libraries. Click here for Pure Java version (700L/5K).
1 | !7 |
2 | |
3 | p {
|
4 | onGlobalKeyPress(voidfunc(NativeKeyEvent e) {
|
5 | print("Key press: " + e.getKeyCode();
|
6 | }); |
7 | |
8 | onGlobalKeyRelease(voidfunc(NativeKeyEvent e) {
|
9 | print("Key release: " + e.getKeyCode();
|
10 | }); |
11 | } |
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: | 729 / 1692 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |