vanilla-wiiu / vanilla

GNU General Public License v2.0
374 stars 17 forks source link

Switch pro controller not recognized #64

Closed FredericVincent0 closed 3 weeks ago

FredericVincent0 commented 2 months ago

Switch pro controller not recognized by Vanilla i try joycond but the motion control are inverted with joycond but the controller still recognized by vanilla i install the kernel with the nintendo hid module but no luck with vanilla😮‍💨

itsmattkc commented 2 months ago

Vanilla uses SDL2 to interface with controllers, is there any way you can test whether your controller works with SDL2 on your end? (emulators like PCSX2 and Retroarch can be configured to use SDL2 for input).

FredericVincent0 commented 2 months ago

Ok i will try Do i need to install sdl2 or not?

Le lun. 12 août 2024, 22 h 48, MattKC @.***> a écrit :

Vanilla uses SDL2 to interface with controllers, is there any way you can test whether your controller works with SDL2 on your end? (emulators like PCSX2 and Retroarch can be configured to use SDL2 for input).

— Reply to this email directly, view it on GitHub https://github.com/vanilla-wiiu/vanilla/issues/64#issuecomment-2285242020, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3GQYDO7XW2E5PXJP5PTNILZRFXYPAVCNFSM6AAAAABMMJSELCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBVGI2DEMBSGA . You are receiving this because you authored the thread.Message ID: @.***>

FredericVincent0 commented 2 months ago

ok i try with dolphin and my controller have sdl2 Capture d’écran du 2024-08-13 08-54-48

FredericVincent0 commented 2 months ago

but in vanilla the controller still not recognized

FredericVincent0 commented 2 months ago

Capture d’écran du 2024-08-13 08-56-26

FredericVincent0 commented 2 months ago

ok now i build vanilla and the controller show up but do noting Capture d’écran du 2024-08-13 09-55-39

FredericVincent0 commented 1 month ago

has vanilla wii u already implemented the gyroscope? because if it hasn't, this problem can be closed I think because you'd need a pull request to implement it unless that pull request already exists?

itsmattkc commented 1 month ago

Vanilla has gyroscope support.

FredericVincent0 commented 1 month ago

Why don't I have the gyroscope on the Switch Pro Controller? I don't get it.

itsmattkc commented 1 month ago

I don't know why it isn't working for you. Vanilla uses SDL2 for its gyroscope capability too, if it doesn't work, it's because SDL2 isn't picking it up for some reason.

FredericVincent0 commented 1 month ago

how do I fix it?

FredericVincent0 commented 1 month ago

i install sdl but not work

itsmattkc commented 1 month ago

I couldn't say since I don't have access to your setup. I don't know what distro/input API/kernel/hardware/etc. you're using, and even if I did, I still may not be able to reproduce your setup myself to accurately determine what's preventing the gyroscope from working. Im afraid you'll probably have to research/troubleshoot this yourself.

FredericVincent0 commented 1 month ago

How do I get you to access my system configuration?

WinFan3672 commented 1 month ago

How do I get you to access my system configuration?

You can't. Even if you sent Matt your laptop or something, I doubt he has the time to fix it himself - he's a busy guy from what I can tell. You'll just have to work it out on your own.

FredericVincent0 commented 1 month ago

Ok

Le lun. 16 sept. 2024, 11 h 00, Gordinator @.***> a écrit :

How do I get you to access my system configuration?

You can't. Even if you sent Matt your laptop or something, I doubt he has the time to fix it himself - he's a busy guy from what I can tell. You'll just have to work it out on your own.

— Reply to this email directly, view it on GitHub https://github.com/vanilla-wiiu/vanilla/issues/64#issuecomment-2353173108, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3GQYDOKR5AUX3T4BANJ2G3ZW3W77AVCNFSM6AAAAABMMJSELCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJTGE3TGMJQHA . You are receiving this because you authored the thread.Message ID: @.***>

wizardkitty commented 1 month ago

I will say on my system as well I have not gotten gyro support to work with my switch pro controller. I might try different a different distribution but right now it has not worked for me.

Using Ubuntu, both usb and bluetooth.

FredericVincent0 commented 1 month ago

Ok, let me know.

Le mer. 18 sept. 2024, 16 h 06, wizardkitty @.***> a écrit :

I will say on my system as well I have not gotten gyro support to work with my switch pro controller. I might try different a different distribution but right now it has not worked for me.

— Reply to this email directly, view it on GitHub https://github.com/vanilla-wiiu/vanilla/issues/64#issuecomment-2359311586, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3GQYDPGAH2VMTGEDJMCVTTZXHMOFAVCNFSM6AAAAABMMJSELCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJZGMYTCNJYGY . You are receiving this because you authored the thread.Message ID: @.***>

FredericVincent0 commented 1 month ago

@wizardkitty I finally managed to get the gyroscope working on ubuntu, indeed the build in the release section does not work with the gyroscope, you have to install the prerequisites then build vanilla and I launched the vanilla-gui executable with the terminal ./vanilla-gui to see the log and no errors are displayed the other build had qt errors

FredericVincent0 commented 1 month ago

@wizardkitty so as this is not an error with ubuntu or any other distribution i think i don't know if this issue should be closed tell me

wizardkitty commented 1 month ago

@wizardkitty I finally managed to get the gyroscope working on ubuntu, indeed the build in the release section does not work with the gyroscope, you have to install the prerequisites then build vanilla and I launched the vanilla-gui executable with the terminal ./vanilla-gui to see the log and no errors are displayed the other build had qt errors

Probably means that there could be a issue with the github compliation or that vanilla needs a warning for missing dependicies.

FredericVincent0 commented 1 month ago

Ho ok

Le sam. 28 sept. 2024, 16 h 55, wizardkitty @.***> a écrit :

@wizardkitty https://github.com/wizardkitty I finally managed to get the gyroscope working on ubuntu, indeed the build in the release section does not work with the gyroscope, you have to install the prerequisites then build vanilla and I launched the vanilla-gui executable with the terminal ./vanilla-gui to see the log and no errors are displayed the other build had qt errors

Probably means that there could be a issue with the github compliation or that vanilla needs a warning for missing dependicies.

— Reply to this email directly, view it on GitHub https://github.com/vanilla-wiiu/vanilla/issues/64#issuecomment-2380892602, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3GQYDJKNWBP6MU6AKSDD7LZY4JUZAVCNFSM6AAAAABMMJSELCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBQHA4TENRQGI . You are receiving this because you authored the thread.Message ID: @.***>

itsmattkc commented 3 weeks ago

Glad to see this was solved. It's most likely that the SDL2 from your distro is better suited to the distro than the one in the build (which is based on Alma Linux), so I would recommend others having trouble with controllers to try self-compiling Vanilla too.