E
E
esata2017-02-15 02:36:54
JavaScript
esata, 2017-02-15 02:36:54

Navigating page elements using a gamepad?

Good afternoon, I am writing an application on Electron and I want to add support for gamepads for navigating the application (as in Metro applications).
Is there such a functionality "out of the box" or maybe you know a ready-made library for this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stalker_RED, 2017-02-15
@Stalker_RED

There is a gamepad API out of the box . The technology is experimental, not supported everywhere and to varying degrees. You can test here: html5gamepad.com
Ready-made library: www.gamepadjs.com
But, I repeat, it does not work everywhere and not with all gamepads.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question