Skip to content
Advertisement

Tag: gamepad

If more than one gamepad button pressed via UWP JavaScript

According to Microsoft docs, GamepadReading.buttons, It’s combination of buttons values… Inside game loop via window.requestAnimationFrame (Or window.setInterval), I’m trying to implement way to check for pressing multiple gamepad buttons… Here is the implementation, Although i used strings instead… The problem i have is, The gamepad reading state changes each time, But i want way to not let this only detect

Advertisement