Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question