acmcsuf.com icon indicating copy to clipboard operation
acmcsuf.com copied to clipboard

Gamepad API: Support gamepad focus interactions

Open EthanThatOneKid opened this issue 3 years ago • 0 comments

What's your idea?

When visiting any page on acmcsuf.com, visitors are able to sequentially focus on focusable UI elements via the Tab key on their keyboard. See Keyboard Navigation.

It is theoretically possible to use the gamepad button press events to invoke focus interactions on the website. The L and R gamepad trigger buttons could be used to scroll the website page.

Implementation

The Gamepad API allows developers to listen for compatible gamepad controller connections on the visitor's device. See Connecting to a gamepad.

Note: Button layouts on supported gamepad controllers may vary, so visitors may edit their gamepad navigation preferences.

References

EthanThatOneKid avatar Nov 12 '22 05:11 EthanThatOneKid