Skip to content

feat(flexcontrol): add WheelAgcT wheel-mode action (#2907). Principle I.#2924

Merged
aethersdr-agent[bot] merged 1 commit into
mainfrom
aetherclaude/issue-2907
May 21, 2026
Merged

feat(flexcontrol): add WheelAgcT wheel-mode action (#2907). Principle I.#2924
aethersdr-agent[bot] merged 1 commit into
mainfrom
aetherclaude/issue-2907

Conversation

@aethersdr-agent

Copy link
Copy Markdown
Contributor

Summary

Fixes #2907

What was changed

feat(flexcontrol): add WheelAgcT wheel-mode action (#2907). Principle I.

Files modified

  • src/gui/MainWindow.cpp
  • src/gui/MainWindow.h
  • src/gui/RadioSetupDialog.cpp
 src/gui/MainWindow.cpp       | 9 +++++++++
 src/gui/MainWindow.h         | 2 +-
 src/gui/RadioSetupDialog.cpp | 2 +-
 3 files changed, 11 insertions(+), 2 deletions(-)

Generated by AetherClaude (automated agent for AetherSDR)

Adds AGC-T (AGC Threshold) to the FlexControl wheel-mode rotation.
Assigning the WheelAgcT action to a FlexControl button switches the
encoder to AGC-T mode; rotation then adjusts the active slice's AGC-T
in 1-unit steps clamped to the existing 0..100 scale.

The protocol path (slice set <id> agc_threshold=<value>) is already
implemented in SliceModel::setAgcThreshold per FlexLib, and RxApplet
is already bound to agcThresholdChanged — so this change is purely
FlexControl plumbing in three files:

- src/gui/MainWindow.h: extend FlexWheelMode enum with AgcT
- src/gui/MainWindow.cpp: handle AgcT in tuneSteps lambda
  (active-slice guard mirrors Rit/Xit), add WheelAgcT button action
  to switch mode, add AgcT case to flexWheelModeName
- src/gui/RadioSetupDialog.cpp: add WheelAgcT to the mapping UI's
  action list

Token naming follows existing camel-case convention (WheelFrequency,
WheelRit, WheelXit) rather than the issue's literal "WheelAGC-T".

Knob-press return-to-Frequency inherits the existing handler at
MainWindow.cpp:3525, so AgcT auto-exits like other non-Frequency
modes.

Blast radius: risk_score=0.197 driven by RadioSetupDialog.cpp's
position in the MainWindow construction graph; the actual edit is an
additive enum value, additive switch cases, and a static QStringList
append — no API or semantic change to existing call sites.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

@jensenpat jensenpat left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Approve AGC-T control binding.

@aethersdr-agent aethersdr-agent Bot merged commit 130006c into main May 21, 2026
4 checks passed
@aethersdr-agent aethersdr-agent Bot deleted the aetherclaude/issue-2907 branch May 21, 2026 16:05
G6PWY-Chris pushed a commit to G6PWY-Chris/AetherSDR that referenced this pull request Jun 22, 2026
…Principle I. (aethersdr#2924)

## Summary

Fixes aethersdr#2907

### What was changed

feat(flexcontrol): add WheelAgcT wheel-mode action (aethersdr#2907). Principle I.

### Files modified

- `src/gui/MainWindow.cpp`
- `src/gui/MainWindow.h`
- `src/gui/RadioSetupDialog.cpp`

```
 src/gui/MainWindow.cpp       | 9 +++++++++
 src/gui/MainWindow.h         | 2 +-
 src/gui/RadioSetupDialog.cpp | 2 +-
 3 files changed, 11 insertions(+), 2 deletions(-)
```

---
Generated by AetherClaude (automated agent for AetherSDR)

Co-authored-by: aethersdr-agent[bot] <273844287+aethersdr-agent[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
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.

Add FlexControl WheelAGC-T action for AGC-T adjustment

1 participant