Closed duhrer closed 5 months ago
As part of this, we need to politely "defang" the current configuration panel, which appears when the user clicks the gamepad navigator icon. This should be replaced with a simple page that displays:
Because there's at least one field (homepage URL) that needs to be edited as text, we need to be able to use this in combination with the onscreen keyboard modal. If the options panel itself is also a modal, we'd have to manage a transition between two modals.
Since we needed an options menu for #120, I ended up moving this to a standalone page.
Unlike the previous control panel, I included the navigation on the new options panel, which means you can change settings using a gamepad, and can also change to another window or close the window using a gamepad.
Currently, we have a small popup for all supported configuration options, with an idealised picture of a gamepad, and a complex form where you select the input (button or axis) with one drop down, and then select the action to assign to the button. Once both drop-downs are selected, any additional tool options appear.
This refactor covers: