Skip to content

Fix gamecontrollerdb assignment on EmuELEC CFW - #365

Merged
kloptops merged 2 commits into
PortsMaster:mainfrom
dargor123:emuelec-fix-gamecontrollerdb-assignment
Nov 12, 2026
Merged

kloptops merged 2 commits into
PortsMaster:mainfrom
dargor123:emuelec-fix-gamecontrollerdb-assignment

Conversation

@dargor123

@dargor123 dargor123 commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

EmuELEC CFW allows users to define custom button mappings, but PortMaster ignores them and uses /tmp/gamecontrollerdb.txt, a copy of $controlfolder/gamecontrollerdb.txt.

This PR overrides the gamecontrollerdb file used by PortMaster to use the EmuELEC database at
${HOME}/.config/SDL-GameControllerDB/gamecontrollerdb.txt instead.

dargor123 and others added 2 commits October 27, 2026 13:02
EmuELEC CFW allows users to define custom button mappings, but
PortMaster ignores them and uses `/tmp/gamecontrollerdb.txt`, a copy
of `$controlfolder/gamecontrollerdb.txt`.

Override the gamecontrollerdb file used by PortMaster to use the
EmuELEC database at
`${HOME}/.config/SDL-GameControllerDB/gamecontrollerdb.txt` instead.
Without the file (or with an empty one) SDL_GAMECONTROLLERCONFIG_FILE
pointed at nothing, and with sdl_controllerconfig emptied for the full
database ports had no controller mappings at all: PortMaster's copy then
stays.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NxABmR1rUUgi4iicVLZchY
@kloptops
kloptops merged commit 8cc5277 into PortsMaster:main Nov 12, 2026
4 checks passed
@dargor123

Copy link
Copy Markdown
Contributor Author

thanks

@dargor123
dargor123 deleted the emuelec-fix-gamecontrollerdb-assignment branch November 12, 2026 12:12
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

Successfully merging this pull request may close these issues.

2 participants