Download Jar. Uses 408K of libraries. Click here for Pure Java version (1014L/7K).
!7 p { onGlobalMousePress(voidfunc(NativeMouseEvent e) { print("Mouse press at " + e.getX() + "/" + e.getY() + ", button " + e.getButton()); }); onGlobalMouseRelease(voidfunc(NativeMouseEvent e) { print("Mouse release at " + e.getX() + "/" + e.getY() + ", button " + e.getButton()); }); }
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: | 449 / 1042 |
Version history: | 3 change(s) |
Referenced in: | #3000526 - Smart Bot's answer to: !fresh latestPrograms() |