rdepena / node-dualshock-controller

Eventing API layer over HID for the Sony DualShock 3 and DualShock 4 controllers
208 stars 46 forks source link

The device works with USB but never with BT on Raspberry Pi #62

Open mlgarrido opened 7 years ago

mlgarrido commented 7 years ago

On Raspberry Pi I can't see the device. The device is paired and connected with sixad (1 red led is enabled by default) but I can't receive any data from node-dualshock-controller and I can't list if I create a simple script using node-hid (only see USB keyboard).

Thx!

rdepena commented 7 years ago

Hey @Mlgarrido can you install node-hid with hidraw: https://github.com/rdepena/node-dualshock-controller#node-hid-hidraw and try again.

mlgarrido commented 7 years ago

My installation is with hidraw, but when I exec "ls /dev" I cant see hidraw devices, only my keyboard.

mlgarrido commented 7 years ago

Clarification: Works with USB connected but doesn't work with BT.

rdepena commented 7 years ago

Hey @Mlgarrido I will setup a pie this week and debug it. Thanks for reporting this issue.

martin-minovski commented 6 years ago

Same issue here. Connected the controller via USB and I can see it in HID.devices(). Connected over bluetooth using sixad, output can be seen in /dev/input/js0 but doesn't show as HID device. Any workaround will be greatly appreciated!