Skip to content

feat: add joystick widget for virtual control with deflection signals#512

Open
tlambert03 wants to merge 1 commit intopymmcore-plus:mainfrom
tlambert03:joystick
Open

feat: add joystick widget for virtual control with deflection signals#512
tlambert03 wants to merge 1 commit intopymmcore-plus:mainfrom
tlambert03:joystick

Conversation

@tlambert03
Copy link
Copy Markdown
Member

@tlambert03 tlambert03 commented Mar 16, 2026

playing with a new way to move the stage. A joystick pad that moves in a vector, with a given velocity, based on a clicked mouse position, relative to the origin. With a quadratic response curve (more control towards the center)

Untitled.mov

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 16, 2026

Codecov Report

❌ Patch coverage is 26.17450% with 110 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.22%. Comparing base (b4a9089) to head (0afb96c).

Files with missing lines Patch % Lines
src/pymmcore_widgets/control/_joystick.py 25.67% 110 Missing ⚠️

❌ Your patch check has failed because the patch coverage (26.17%) is below the target coverage (85.00%). You can increase the patch coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #512      +/-   ##
==========================================
- Coverage   87.89%   87.22%   -0.68%     
==========================================
  Files         115      116       +1     
  Lines       13727    13876     +149     
==========================================
+ Hits        12066    12103      +37     
- Misses       1661     1773     +112     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@fdrgsp
Copy link
Copy Markdown
Collaborator

fdrgsp commented Mar 16, 2026

It would be cool to add it directly over the preview viewer in pymmcore-gui so that we can use it to move the stage when in live mode 😁

@tlambert03
Copy link
Copy Markdown
Member Author

yeah!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants