Multi-state trigger profiles: analog stick wheel, sentence rules, position/sector sync#26
Merged
Merged
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017N92BmQvFrnpfRwepiUcVH
Profiles may now declare named states (each a full per-trigger effect set) plus switching rules that map controller button presses to state changes, with a menu guard and manual selection as the drift correction path. The evdev reader learns create/options/ps and the d-pad hat axes so rules can bind to them. EngineStatus carries the active state name and a new bridge:selectTriggerProfileState IPC selects states from the renderer. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017N92BmQvFrnpfRwepiUcVH
The editor gains a states strip (add/rename/duplicate/remove, per-state effect editing with live preview), a State Switching group for rules, menu guard, and default state, and the page heading shows clickable state chips for the active profile as the manual re-sync path. The README's 'one feel per game' limitation is rewritten to describe inferred state switching honestly. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017N92BmQvFrnpfRwepiUcVH
The session's GitHub access cannot push to the wiki repo (403), so the page lives here ready to publish to the wiki. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017N92BmQvFrnpfRwepiUcVH
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.
Extends multi-state trigger profiles with analog weapon-wheel tracking and a rebuilt switching editor.
Stick wheel
switching.stickWheelschema: wheel button, threshold, rotation offset, 2–12 sectors, optional per-sector widths (sectorSpansDeg, unequal game wheels)lx/ly) and a wheel gesture in the switcher: hold the wheel button, point, release to commit — mirrors the in-game wheel so tracking follows the gamestickSampleIPC), per-sector width slider, threshold drawn as dead zone, rotation slider, glow selection, labels that fit their sectorSwitching editor
Position/sector invariant
Testing
Design spec:
docs/superpowers/specs/2026-07-16-stick-wheel-state-selection-design.md