You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 5, 2025. It is now read-only.
Using node-hid I can see the controller connected and events coming in. I can as well send commands out, but when running node-gamepad the listener is not getting triggered
constcontroller=newGamePad("ps4/dualshock4",{vendorID:1356,productID:2508});console.log(HID.devices())// Shows my controllercontroller.connect();controller.on('up:press',()=>{console.log('up');});controller.on('down:press',()=>{console.log('down');});
Using
node-hidI can see the controller connected and events coming in. I can as well send commands out, but when runningnode-gamepadthe listener is not getting triggered