Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8bitdo support #2

Open
Simpleguyxorpad opened this issue Mar 18, 2023 · 34 comments
Open

8bitdo support #2

Simpleguyxorpad opened this issue Mar 18, 2023 · 34 comments

Comments

@Simpleguyxorpad
Copy link

The controllers themselves work fine with this pluggin, but they randomly stop working but are still connected to pstv, and I was wondering if this could be fixed

@isage
Copy link
Owner

isage commented Mar 20, 2023

You'd have to be more specific

@Simpleguyxorpad
Copy link
Author

I have 2 8bitdo controllers, both of them work perfectly in xinput mode but usually they disconnect randomly, they can go 1 hour without disconnecting or they can disconnect several times by themselves, I think it can be something in the pluggin because this controller has lights and I can assure you that they are still connected but pstv stops recognizing the inputs, if I can somehow send you something about this controller to fix it let me know

@isage
Copy link
Owner

isage commented Mar 22, 2023

Any chance you have "turn off controllers" option enabled in settings->power saving?

@Simpleguyxorpad
Copy link
Author

It was the first thing I checked when I started having that problem but the options are disabled.

@isage
Copy link
Owner

isage commented Mar 23, 2023

vixen.zip

Install that version, wait until controller disconnects, find ux0:/data/vixen.txt and attach it

@Simpleguyxorpad
Copy link
Author

Simpleguyxorpad commented Mar 24, 2023

vixen.txt
After a few hours doing speedrun it disconnected and killed the run, I hope the sacrifice can fix the problem XD

When the controller disconnected the game started running very slow until I disconnected It, I guess it's because of the version of vixen youbpost here to find the error

@isage
Copy link
Owner

isage commented Mar 24, 2023

Hm. Can you check on pc what usb vendor_id/product_id that controller has?
you can use https://gamepad-tester.com/ for that

@isage
Copy link
Owner

isage commented Mar 24, 2023

vixen.zip
And another test version. Same as above, run until it fails, send the file (remove the file if it exists prior to that)
Or, if it doesn't fail for quite some time, still check if file exists and send it.
This is really strange that it starts to spam errors on usb_write, since this is used for rumble/
led/power off.

@Simpleguyxorpad
Copy link
Author

I am on the Gamepad tester page, where am I supposed to find the vendor and product id? I will try to send the text file as soon as possible. thanks for the help

@isage
Copy link
Owner

isage commented Mar 24, 2023

image

@Simpleguyxorpad
Copy link
Author

Ok while my controller was in xinput mode it only told me it was like a standard xbox controller, but if I change it to D-input it gives me this:
8BitDo SN30 Pro+ (Vendor: 2dc8 Product: 6002)
And if I switch it to MAC-OS mode I get this
Sony PS4 Dualshock
Wireless Controller (STANDARD GAMEPAD Vendor: 054c Product: 05c4)
but in xinput mode I only get this:
Xbox 360 Controller (XInput STANDARD GAMEPAD)

@isage
Copy link
Owner

isage commented Mar 24, 2023

Oh well, i guess it just reports as standard xbox360 pad

@Simpleguyxorpad
Copy link
Author

Simpleguyxorpad commented Mar 24, 2023

Do you think it would be a good idea or if it would be possible to map any of the other modes that comes with the controller to see if it also continues to happen in the other modes? (Dimput MACos switch) Maybe I won't have the same problem

@isage
Copy link
Owner

isage commented Mar 24, 2023

Maybe dinput, but let's try to figure out x-input first

@Simpleguyxorpad
Copy link
Author

I can't use the latest vixen you sent me, it slows down ps1 games

@isage
Copy link
Owner

isage commented Mar 24, 2023

Huh. Check file, send it

@Simpleguyxorpad
Copy link
Author

vixen-1.txt

@isage
Copy link
Owner

isage commented Mar 24, 2023

Okay, that's good. I'll cook another test tomorrow

@isage
Copy link
Owner

isage commented Mar 25, 2023

vixen.zip

@Simpleguyxorpad
Copy link
Author

Simpleguyxorpad commented Mar 26, 2023

vixen-2.txt

@isage
Copy link
Owner

isage commented Mar 26, 2023

Still stops working?
Also, does it have rumble support?

@Simpleguyxorpad
Copy link
Author

Simpleguyxorpad commented Mar 26, 2023

the problem persists, and the controller does have Rumble suport .Do you think it could be a problem with adrenaline or PS1 games?

@isage
Copy link
Owner

isage commented Mar 26, 2023

Does rumble work? Usually pstv can't provide enough power for rumble without usb hub with external power.
Also, try disabling vibration in quick settings (hold PS) and see if that helps.

@Simpleguyxorpad
Copy link
Author

The Rumble works with the pluggin, tonight I will try disabling the Rumble and I might also try using a powered hub. If there is any news I will let you know here 👍.

@Simpleguyxorpad
Copy link
Author

vixen.txt
It keeps happening even with vibration disabled and powered hub :/

@isage
Copy link
Owner

isage commented Mar 27, 2023

Welp, I'm out of ideas.
Did disabling vibration actually disabled it?
Did you remove vixen.txt prior to testing?
Because log says it hangs on write, and write is only used for vibration.

We can try implementing dinput mode and see if that helps.

@Simpleguyxorpad
Copy link
Author

the vibration stopped working when I deactivated it, I will use the new tool you developed and send it to you.

@Simpleguyxorpad
Copy link
Author

Simpleguyxorpad commented Mar 27, 2023

When I try to map the imputs in dimput mode it does not work I get a popup of this control is not supported by psvita, but trying to take the maps in xinput/switch mode I noticed that it detects 2 devices, is that normal ?

@isage
Copy link
Owner

isage commented Mar 27, 2023

Popup is fine. Does the app see the device?

@Simpleguyxorpad
Copy link
Author

Simpleguyxorpad commented Mar 27, 2023

no, with dinput mode it does not go beyond the press x screen. Being in macOS mode, I see that it is connected because the light stays on but not in dinput mode, and in neither of the two let me get to see the vendor id I can not pass from the screen that asks you to press x with the controller

@isage
Copy link
Owner

isage commented Mar 28, 2023

You need to press X on paired ds3/ds4, not on 8bitdo controller

@Simpleguyxorpad
Copy link
Author

vixen.txt

I think the file is not right, it should also add the imputs but I think it does not register them.

@isage
Copy link
Owner

isage commented Mar 28, 2023

Yeah, it can't even read first report. Well, i'm out of ideas then.

@Simpleguyxorpad
Copy link
Author

Anyway thanks for your help, maybe in the future the error can be found and fixed!
At the moment I'm waiting for a ps2usb adapter to at least use a ps2 controller.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants