(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 ?