Skip to content

Commit be94e8b

Browse files
committed
load custom gamepaddb from configdir
1 parent 3b3c632 commit be94e8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/src/utils/config.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ bool AppConfig::init() {
259259
#endif
260260

261261
#if (defined(__APPLE__) || defined(__linux__) || defined(_WIN32)) && !defined(ANDROID) && !defined(TRIMUI)
262+
brls::DesktopPlatform::GAMEPAD_DB = configDir() + "/gamecontrollerdb.txt";
262263
if (this->getItem(AppConfig::SINGLE, false) && misc::sendIPC(this->ipcSocket(), "{}")) {
263264
brls::Logger::warning("AppConfig single instance");
264265
return false;

0 commit comments

Comments
 (0)