Is there a way to detect motion controls from a JoyCon in vanilla JavaScript? If it's not possible, would I be able to use another API besides Gamepad API
?
window.addEventListener("gamepadconnect", function(e) {
//How would I detect motion controls?
});