Question Onepad on PCSX2 ?
#1
There are 2 question , 
How do I Adding Onepad or legacy instate of SDL on PCSX2 V2 ? Disabling SDL ?
Which final version of PCSX2 V1.7 support Onepad  ?

I have a PS3 controller which working fine on Onepad bluetooth on PCSX2 V1.6 but fail to load on PCSX2 SDL V2

I had posted on the thread but seemingly not getting any help with troubleshoot. Sad https://forums.pcsx2.net/Thread-PCSX2-di...connection

Should Quote pcsx2 developer to the thread ?
Reply

Sponsored links

#2
should be 1.7.3771
CPU : AMD Ryzen 7 3800X
Mobo : Asus PRIME B450-PLUS
GPU : NVIDIA GeForce RTX 3070
RAM : 16 Go
Reply
#3
(09-12-2024, 04:36 PM)jesalvein Wrote: should be 1.7.3771

Can't find 1.7.3771 for flatpak QT , where can I find older build ?
Reply
#4
(09-12-2024, 06:23 PM)ps2fm Wrote: Can't find 1.7.3771 for flatpak QT , where can I find older build ?

there wasn't any flatpak version back then
you'll have to use appimage, or take the source code and compile it yourself, or use 1.6 (i think you can find one on flathub)
just keep in mind neither of those versions are supported by pcsx2 team. you're on your own for those
CPU : AMD Ryzen 7 3800X
Mobo : Asus PRIME B450-PLUS
GPU : NVIDIA GeForce RTX 3070
RAM : 16 Go
Reply
#5
(09-12-2024, 07:25 PM)jesalvein Wrote: there wasn't any flatpak version back then
you'll have to use appimage, or take the source code and compile it yourself, or use 1.6 (i think you can find one on flathub)
just keep in mind neither of those versions are supported by pcsx2 team. you're on your own for those

There is a bug on PS3 Controller Not Detected On Linux , 
Every button and bluetooth mapping was working with v1.7.3730 
Just a newer pull version for v1.7.3731 updated , the bluetooth disconnect with SDL.Up to now v2.1.138 still doesn't work.

The Default-enabled a hints for HIDAPI PS3 controllers on Linux https://github.com/PCSX2/pcsx2/pull/7476 changes made the bluetooth connection to drop.There is no log generated as it's not show at pcsx2.Only systemctl and monitor bluetoothctl will show bluetooth drop the connection once Pcsx2 launch.

Truely , is there a way to disable HIDAPI ? Disable pressure sensitivity ? or I can replace older build of SDL v1.7.3730 to v2.1.138 ?

As this code clash with bluetooth to drop comparing v1.7.3730 vs v1.7.3731
Code:
AppInit.cpp

#ifdef SDL_BUILD
    // MacOS Game Controller framework requires a few runs of the main event loop after interest in game controllers is first indicated to connect controllers
    // Since OnePad doesn't currently handle connection/disconnection events and requires controllers to be connected on start, we need to initialize SDL before OnePad looks at the controller list
    SDL_SetHint(SDL_HINT_NO_SIGNAL_HANDLERS, "1");
Code:
SDLInputSource.cpp


m_sdl_hints = si.GetKeyValueList("SDLHints");

// Enable Wii U Pro Controller support
// New as of SDL 2.26, so use string
SDL_SetHint("SDL_JOYSTICK_HIDAPI_WII", "1");
#ifndef _WIN32
// Gets us pressure sensitive button support on Linux
// Apparently doesn't work on Windows, so leave it off there
// New as of SDL 2.26, so use string
SDL_SetHint("SDL_JOYSTICK_HIDAPI_PS3", "1");
#endif

for (const std::pair<std::string, std::string>& hint : m_sdl_hints)
SDL_SetHint(hint.first.c_str(), hint.second.c_str());

How do I manually disable SDL_SetHint("SDL_JOYSTICK_HIDAPI_PS3", to false "0" in v2.1.138 ?
Reply
#6
no idea. i'm not a linux guy.
weird thing is no one reported this.
try to file in a proper bug report or ask on the discord server
CPU : AMD Ryzen 7 3800X
Mobo : Asus PRIME B450-PLUS
GPU : NVIDIA GeForce RTX 3070
RAM : 16 Go
Reply
#7
(09-12-2024, 10:25 PM)jesalvein Wrote: no idea. i'm not a linux guy.
weird thing is no one reported this.
try to file in a proper bug report or ask on the discord server

Maybe no one running an OEM Shanwan PS3 controller ? Due to varies of OEM brand , hardly someone will pickup the same OEM controller.
There should be an open override config file separately for debug or tester to disable certain setting but I can't be sure with the complexity of Pcsx2 v2 source code Closedeyes
Since pcsx2 remove the OnePAD (Linux) PAD.ini and merge to SDL2 auto detecting setting and auto enable HIDAPI , I can't find a way to disable it.
https://github.com/PCSX2/pcsx2/compare/v....v1.7.3731

Does our dear Smile  @refraction @ellowKrinkle coder still active here ?
Reply
#8
No idea. havent seen them for quite a long time
CPU : AMD Ryzen 7 3800X
Mobo : Asus PRIME B450-PLUS
GPU : NVIDIA GeForce RTX 3070
RAM : 16 Go
Reply
#9
(09-12-2024, 11:32 PM)jesalvein Wrote: No idea. havent seen them for quite a long time

Where should I create bug section ? 
There is a bug where SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS3, "1"); where the sdl is getting pressure sensitive button support on Linux and if it return error , it'll disconnect the bluetooth connection.
Some OEM controller doesn't have pressure sensitive so it would be best to have an option to disable it.
Since it's not in window , there is no SDL raw input , Xinput source , Dinput source
Reply
#10
https://forums.pcsx2.net/Forum-Bug-reporting
CPU : AMD Ryzen 7 3800X
Mobo : Asus PRIME B450-PLUS
GPU : NVIDIA GeForce RTX 3070
RAM : 16 Go
Reply




Users browsing this thread: 1 Guest(s)