Voice input controls for Game Boy Advance games running on the mGBA emulator using Talon Voice.
Holding down direction keys on a controller is simulated with scrolling, which in Talon can be activated through hissing. Scrolling down will continually press the arrow key in the direction last specified and scrolling up will press the opposite direction key. This prevents voice strain by only requiring spoken voice input for changing directions.
The rest of the keys are shown in this table:
| Key press | Button pressed on GBA |
|---|---|
| Enter | Start |
| Backspace | Select |
| a | A (single press) |
| b | B (single press) |
| l | L (single press) |
| r | R (single press) |
| A | A (hold down) |
| B | B (hold down) |
| L | L (hold down) |
| R | R (hold down) |
| Escape | Stop holding all buttons |
The escape key resets all held buttons on the controller in case of a bug where a key is being held down forever. If a key is being held down, pressing the key again stops the key being held down.
Install the uv package manager, then clone the repository and run uv sync.
