Download Jar. Uses 408K of libraries. Click here for Pure Java version (1014L/7K).
1 | !7 |
2 | |
3 | p { |
4 | onGlobalMousePress(voidfunc(NativeMouseEvent e) { |
5 | print("Mouse press at " + e.getX() + "/" + e.getY() + ", button " + e.getButton()); |
6 | }); |
7 | |
8 | onGlobalMouseRelease(voidfunc(NativeMouseEvent e) { |
9 | print("Mouse release at " + e.getX() + "/" + e.getY() + ", button " + e.getButton()); |
10 | }); |
11 | } |
Began life as a copy of #1010549
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1015114 |
Snippet name: | Test onGlobalMousePress + onGlobalMouseRelease (OK!) |
Eternal ID of this version: | #1015114/4 |
Text MD5: | 983f7afd16f06e7a528db22eeadc0aa7 |
Transpilation MD5: | 2117315312f86af06edda639db31df9e |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-05-08 14:34:26 |
Source code size: | 318 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 450 / 1043 |
Version history: | 3 change(s) |
Referenced in: | [show references] |