mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-12 23:58:07 +01:00
Fix controller config generator.
This commit is contained in:
parent
a24a9c266f
commit
acebfc4e4d
1 changed files with 4 additions and 1 deletions
|
@ -38,7 +38,10 @@ def add_input_bindings(group, bindings, force_binding=None, keymap=keymap_digita
|
|||
for ss in x:
|
||||
st = ss.split()
|
||||
if st[0] == 'game_action':
|
||||
action_name = st[2][:-1]
|
||||
if st[2][-1] == ",":
|
||||
action_name = st[2][:-1]
|
||||
else:
|
||||
action_name = st[2][:]
|
||||
if force_binding is None:
|
||||
binding = keymap[i.lower()]
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue