Currently, the gamepad navigator can control radio buttons in one of the ways a keyboard user would:
Navigate to the desired radio button using our equivalent of "tabs".
"click" the desired radio button to select it.
We should also add support for sending arrow keys to a radio button group, which:
Navigates to and selects the next radio button on right arrow or down arrow.
Navigates to and selects the previous radio button on left arrow or down arrow.
We should be able to handle this by generalising the code in the sendKey method that was added for #134, i.e. special-casing arrow keys up front and then adding the exceptions.
Currently, the gamepad navigator can control radio buttons in one of the ways a keyboard user would:
We should also add support for sending arrow keys to a radio button group, which:
We should be able to handle this by generalising the code in the
sendKey
method that was added for #134, i.e. special-casing arrow keys up front and then adding the exceptions.