hid-remapper icon indicating copy to clipboard operation
hid-remapper copied to clipboard

PS4 Gamepad HID Controller - no output in Monitor tab - Single Pico board

Open HVR88 opened this issue 1 year ago • 15 comments

Chrome browser in Mac OS 13.5.1

I'm using a single Pico board that's working as expected with USB mouse connected (axis, all buttons, wheel), however, when i connect an 8BitDo SN30 Pro gamepad in PS4 mode (Mac OS/HID compatibility) I get no output from the monitor tab.

I've verified the controller is working and recognized as PS4 pad using gamepad-tool which uses SDL2. VID/PID = 1356/1476 usage 1/5

Should this be working with the single Pico board or is it something expected to only work with the double?

HVR88 avatar Sep 13 '23 17:09 HVR88

Hard to say, I don't have one to test. There's no guarantee it will work with the dual Pico version, but it might. Does the LED on the Pico blink when you press buttons on the controller?

jfedor2 avatar Sep 13 '23 21:09 jfedor2

It doesn't blink when the game controller is connected and any buttons are pressed. It does blink with every movement/button of the mouse I mentioned above.

I have a couple more Picos here so I can try the dual setup later in the week.

Do you know of any gamepads that have been tested as working?

HVR88 avatar Sep 13 '23 21:09 HVR88

The Stadia controller works.

jfedor2 avatar Sep 13 '23 22:09 jfedor2

It doesn't blink when the game controller is connected and any buttons are pressed. It does blink with every movement/button of the mouse I mentioned above.

I have a couple more Picos here so I can try the dual setup later in the week.

Do you know of any gamepads that have been tested as working?

I have a dualshock4(wired mode show:Sony PS4 Dualshock 054c-05c4-Wireless Controller),and a single pico version remapper,when plug it to remapper,pico led stay light,mouse cursor keep move to right-bottom,square,circle and cross button work like mouse left click,so i try to use keyboard in config page,try "[expressions: gamepad-to-mouse adapter]" and save to device.now it seem work fine.

HandisableL avatar Sep 20 '23 17:09 HandisableL

Thanks for the feedback, I'll give the board another try with some first-party PS controllers I have here.

HVR88 avatar Oct 10 '23 21:10 HVR88

It seems to be working now with the latest firmware. PS4 controller AND the 8BitDo in both Android (DInput) mode and PS/Mac mode.

PS3 Dual-Shock Sixaxis doesn't seem to work. I tried two of them, one correctly lights up all 4 LEDs and they continue to blink and the other lights up momentarily and then turns off. No monitor output from either.

I've also tested both XBOX Series controller (newer style with USB-C and Share button) and XBOX One controller (micro-usb) and all buttons/axis work. I don't know if there are supposed to be pre-filled expressions or if the buttons, dpad and axis are all supposed to be named correctly, but neither is the case. Have to load device to see their hex codes.

The 8BitDo controller in XBOX mode doesn't work however. Maybe just need to add the PID

XBOX Series Controller:

Product ID: 0x0b12 Vendor ID: 0x045e (Microsoft Corporation) Version: 5.0b Serial Number: 3039373133383239323936303432 Manufacturer: Microsoft

XBOX One Controller:

Product ID: 0x02d1 Vendor ID: 0x045e (Microsoft Corporation) Version: 2.03 Serial Number: 7EED8D16E811 Manufacturer: Microsoft

8BitDo in XBOX Mode (XInput):

Product ID: 0x028e Vendor ID: 0x045e (Microsoft Corporation) Version: 1.14 Serial Number: 157F8F8 Manufacturer: 8Bitdo SF30 Pro

HVR88 avatar Oct 11 '23 16:10 HVR88

Thanks for testing!

I think the 8BitDo controller pretends to be an Xbox 360 pad. Only Xbox One/Series controllers are supported, at least for now.

jfedor2 avatar Oct 11 '23 16:10 jfedor2

And yeah, on the input side, the button/axis names only make sense for mouse and keyboard. I need to think if and how we can make it better for everything else.

jfedor2 avatar Oct 11 '23 16:10 jfedor2

I updated with more details after testing both XB One and XB Series controllers. :)

The 8BitDo in "Android" mode is using DInput and in XBOX mode uses XInput - but honestly, I don't know what other parameters it has/lacks to make it look like X360 vs. XBOne/Series.

I also tried the "Wireless Adapter for Windows 10" which works better than BT on Windows machines, but that didn't work. The LED on the adapter never lights up - same as when I plug it into a HUB on my Mac, so it likely needs a driver.

XBOX ACC (Wireless Adapter):

Product ID: 0x02e6 Vendor ID: 0x045e (Microsoft Corporation) Version: 1.00 Serial Number: 023754 Speed: Up to 480 Mb/s Manufacturer: Microsoft Inc. Location ID: 0x04300000 / 16 Current Available (mA): 500 Current Required (mA): 500 Extra Operating Current (mA): 0

HVR88 avatar Oct 11 '23 16:10 HVR88

I think the wireless adapter is a different beast, it doesn't just show up as a wired controller. So adding support for that would be a separate undertaking.

Thanks for the continued testing!

jfedor2 avatar Oct 11 '23 17:10 jfedor2

I'm going to see about getting the BT board so I can test that at the same time. I also have a few more USB controllers kicking around I can run through this when I have some time.

HVR88 avatar Oct 12 '23 16:10 HVR88

I'm going to see about getting the BT board so I can test that at the same time. I also have a few more USB controllers kicking around I can run through this when I have some time.

Hello, may I ask which controllers you have tested that can successfully pair with the nrf52840's HID-Remapper? I have a Stadia and a DualShock 4 controller, and neither of them can successfully pair with the HID-Remapper (using the Seeed XIAO BLE nrf52840, the blue LED stays on. I have tried both shorting GND-P0 and using the WEBUI button to enter pairing mode, but I can only pair my Logitech MX Master2s mouse, not the controllers).

HandisableL avatar Oct 24 '23 20:10 HandisableL

Hello, may I ask which controllers you have tested that can successfully pair with the nrf52840's HID-Remapper? I have a Stadia and a DualShock 4 controller, and neither of them can successfully pair with the HID-Remapper (using the Seeed XIAO BLE nrf52840, the blue LED stays on. I have tried both shorting GND-P0 and using the WEBUI button to enter pairing mode, but I can only pair my Logitech MX Master2s mouse, not the controllers).

DS4 uses Bluetooth Classic so it won't work.

Stadia controller uses Bluetooth LE, but for some reason it doesn't show up in scans, I'm not sure why.

jfedor2 avatar Oct 24 '23 20:10 jfedor2

So far I've only used the XBOX One (X) controller with BLE

HVR88 avatar Oct 24 '23 22:10 HVR88

Hello, may I ask which controllers you have tested that can successfully pair with the nrf52840's HID-Remapper? I have a Stadia and a DualShock 4 controller, and neither of them can successfully pair with the HID-Remapper (using the Seeed XIAO BLE nrf52840, the blue LED stays on. I have tried both shorting GND-P0 and using the WEBUI button to enter pairing mode, but I can only pair my Logitech MX Master2s mouse, not the controllers).

DS4 uses Bluetooth Classic so it won't work.

Stadia controller uses Bluetooth LE, but for some reason it doesn't show up in scans, I'm not sure why.

8Bitdo Controller Adapter 2, a device also used for remapping Bluetooth/BLE controllers to simulate XBOX/PS/NS controllers, encountered the same pairing issue as HID-REMAPPER before their 1.0.4 firmware update in October. Both devices would enter pair mode but were unable to successfully connect. However, it seems that the issue has been fixed in the 1.0.4 update. Perhaps the Stadia controller uses some unique features?

HandisableL avatar Oct 25 '23 14:10 HandisableL