Files
Jonathan BennettandClaude Opus 5 7266b13a55 feat(portduino): let one joystick action bind several buttons
Input.JoystickButtons took a single evdev code per action, so a pad's A and Y
could not both select, and the shoulder buttons could not sit alongside the
D-pad. Accept a list of codes as well as a bare scalar; the config writer
inverts its code->action map back out, emitting a list only where an action
has more than one button.

ConfigCheck gains a real checker for the section (it was previously waved
through as free-form) covering the three ways a mapping silently does nothing:
an action name the driver does not know, an evdev name where the numeric code
belongs, and one code claimed by two actions. Two fixtures and shell-test
cases cover the clean list form and those three faults.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-19 15:58:25 -05:00
..
2022-08-11 17:54:48 -05:00
2024-02-21 10:03:45 -06:00
2026-06-30 12:44:02 -05:00
2026-08-06 14:05:07 +00:00
2024-07-15 07:11:37 -05:00
2024-10-06 07:55:02 -05:00
2025-10-19 08:52:56 +11:00