Create antisandbox_mousemovement.py #488
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Signature for detecting mouse movement in the sandbox.
There is a simple exclusion list for any problem processes for now although determining if a process creates a GUI window too may be an additional method I may implement later (although I expect most will expect button presses).
Checked on Lumma sample b14ddf64ace0b5f0d7452be28d07355c1c6865710dbed84938e2af48ccaa46cf
No mouse movement (weirdly there was always the first 2 like there was movement during sandbox/sample initialisation before it moved to no movement so I have accounted for that first initial "movement"). This was emulated with disable interaction option when submitting sample.

And with mouse movement. I opted for a lower value for this to trigger as sometimes it took not as many samples but with nomouse movement it would continuously poll until it saw some
