Closed m4-used-rollout closed 1 month ago
For example, "rup" is not a valid input on GameBoy, so it should parse as P2 Up. But "rup" is a valid input on GameCube and Switch, so it should parse as "P1 Rup" assuming the player is assigned to the left side. If the player still wants to direct the input, they can use "rrup" or "r.rup" or "r:rup". "r.up" is similarly not a valid input for any system, so it should be parsed as "P2 Up".
The L and R prefix for either side clashes with the L and R buttons and the L and R analog sticks on the Switch controller. The Sided Input Parser needs to prioritize valid buttons first, and only treat a leading L or R as a side prefix if it's not part of any valid button names.