mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-30 16:37:39 +00:00
Fixed bug 4024 - remove trailing comma of Controller mappings
because it reports an error "Unexpected controller element"
This commit is contained in:
parent
8a19ff3e2d
commit
ede0fc4f4c
3 changed files with 562 additions and 551 deletions
|
@ -20,7 +20,7 @@ def save_controller(line):
|
|||
bindings = sorted(match.group(4).split(","))
|
||||
if (bindings[0] == ""):
|
||||
bindings.pop(0)
|
||||
entry.extend(",".join(bindings) + ",")
|
||||
entry.extend(",".join(bindings))
|
||||
entry.append(match.group(5))
|
||||
controllers.append(entry)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue