Skip to content

Add controller button combinations and reusable shortcut profiles - #8

Open
anseltutorialesxd-cmd wants to merge 2 commits into
Brunovncs:mainfrom
anseltutorialesxd-cmd:codex/controller-combinations
Open

anseltutorialesxd-cmd wants to merge 2 commits into
Brunovncs:mainfrom
anseltutorialesxd-cmd:codex/controller-combinations

Conversation

@anseltutorialesxd-cmd

Copy link
Copy Markdown

Some controllers' rear buttons replay several ordinary inputs. This adds a Combinations tab so a chord such as Capture + B can trigger one keyboard or mouse shortcut. A matched combination consumes its inputs. Outputs can use a fixed pulse or stay held until a button is released.

  • Add named actions, combination recording, and multi-key shortcut capture on Windows.
  • Save controller profiles and reusable actions to a configuration file. A different controller model can import the actions and assign its own inputs.
  • Restore full Switch Pro input reports on Bluetooth when leaving Keep native, so Capture becomes available again.
  • The new panels use English fallback text in the Simplified Chinese locale.

Validation: cargo fmt --all --check and cargo test --locked --workspace --release on Windows x64 against current main (290 passed, 5 ignored, 0 failed).

On the previous local build, an Ultimate 2C Bluetooth trace of R4 programmed as Capture + B showed matching SDL timestamps and update boundaries for both buttons across ten press/release cycles. That trace was sent separately. Timing for R4 programmed as Capture + A remains unmeasured.

@Brunovncs Brunovncs self-assigned this Nov 8, 2026
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