Skip to content

Conversation

@Koseng
Copy link
Contributor

@Koseng Koseng commented Jan 31, 2026

Fixes #2382 by preventing Winwing FCU and PAP 3 from implicitly retriggering all button states during initial connection/startup when Auto-retrigger is OFF.

Changes:

  • Introduced a separate DoRetrigger flag to decouple first-report initialization from explicit retrigger behavior.
  • Updated HID report handling so startup only initializes previous state (no forced edge generation).
  • Changed Retrigger() to set DoRetrigger instead of reusing DoInitialize.

@Koseng Koseng requested a review from DocMoebiuz as a code owner January 31, 2026 16:19
Copilot AI review requested due to automatic review settings January 31, 2026 16:19
@github-actions
Copy link

Build for this pull request:
MobiFlightConnector.zip

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes #2382 by preventing Winwing FCU and PAP 3 from implicitly retriggering all button states during initial connection/startup when Auto-retrigger is OFF.

Changes:

  • Introduced a separate DoRetrigger flag to decouple first-report initialization from explicit retrigger behavior.
  • Updated HID report handling so startup only initializes previous state (no forced edge generation).
  • Changed Retrigger() to set DoRetrigger instead of reusing DoInitialize.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
MobiFlight/Joysticks/Winwing/WinwingPap3.cs Separates initial report sync from explicit retrigger logic to avoid startup button retriggers.
MobiFlight/Joysticks/Winwing/WinwingFcu.cs Same separation as PAP3 to prevent unintended retriggering on connect/startup.

@github-actions
Copy link

github-actions bot commented Feb 1, 2026

Build for this pull request:
MobiFlightConnector.zip

@Koseng
Copy link
Contributor Author

Koseng commented Feb 1, 2026

@DocMoebiuz ready to be merged.

@DocMoebiuz DocMoebiuz merged commit e1aefc4 into MobiFlight:main Feb 3, 2026
2 checks passed
@DocMoebiuz DocMoebiuz added the enhancement Improvement of an existing feature label Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improvement of an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mobiflight does retrigger of Winwing FCU + EFIS L devices on startup

2 participants