Uses 1319K of libraries. Click here for Pure Java version (1898L/10K).
!7 cmodule MouseLogger > DynPrintLog { switchable bool verbose; start { ownResource(onGlobalMousePress(voidfunc(NativeMouseEvent e) { if (verbose) print("Mouse press at " + e.getX() + "/" + e.getY() + ", button " + e.getButton()); vmBus_send('mouseDown, e.getX(), e.getY(), e.getButton()); })); ownResource(onGlobalMouseRelease(voidfunc(NativeMouseEvent e) { if (verbose) print("Mouse release at " + e.getX() + "/" + e.getY() + ", button " + e.getButton()); vmBus_send('mouseUp, e.getX(), e.getY(), e.getButton()); })); } }
Began life as a copy of #1018559
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1019631 |
Snippet name: | Mouse Logger [Dyn Module] |
Eternal ID of this version: | #1019631/6 |
Text MD5: | 8bca757963d63897dc24e3d40d3411f0 |
Transpilation MD5: | 08b9aebbee5bc855d065aeb556e54342 |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-23 16:22:44 |
Source code size: | 610 bytes / 19 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 303 / 18035 |
Version history: | 5 change(s) |
Referenced in: | #1019668 - dm_requireMouseLogger |