Add relative mouse movement (move by delta)#330
Merged
Conversation
Not up to standards ⛔
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.



Summary
Round-11, automation-core. The mouse wrapper exposed only absolute
set_mouse_position— nomoveRel(dx, dy)(pynput/PyAutoGUI staple) for relative-pointer / canvas / FPS apps and incremental drags.Layers
je_auto_control/utils/mouse_relative/mouse_relative.py—relative_target(pure current+delta arithmetic),move_mouse_relative(reads live position, moves by delta; injectable getter/setter; raisesAutoControlMouseExceptionif position unreadable). No PySide6.__all__.AC_move_mouse_relative.ac_move_mouse_relative(SIDE_EFFECT_ONLY).CommandSpecunder Mouse.Tests / docs
test/unit_test/headless/test_mouse_relative_batch.py— 6 headless tests (arithmetic, current+delta via injected get/set, unreadable-position raises + wiring + facade). No real pointer.v120_features_doc.rst+ toctrees; 3 WHATS_NEW entries.Note: horizontal mouse-wheel scroll is intentionally deferred — it needs cross-platform backend HWHEEL support that isn't headless-testable. Codacy may show
action_requiredfrom its coverage gate only (issues=0).