mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-08-06 15:45:42 +02:00
fix for "inputs" not exists in vdf
This commit is contained in:
parent
0dcafc5cb8
commit
f7fe813310
1 changed files with 2 additions and 0 deletions
|
@ -29,6 +29,8 @@ keymap_digital = {
|
||||||
}
|
}
|
||||||
|
|
||||||
def add_input_bindings(group, bindings, force_binding=None, keymap=keymap_digital):
|
def add_input_bindings(group, bindings, force_binding=None, keymap=keymap_digital):
|
||||||
|
if "inputs" not in group:
|
||||||
|
return bindings
|
||||||
for i in group["inputs"]:
|
for i in group["inputs"]:
|
||||||
for act in group["inputs"][i]:
|
for act in group["inputs"][i]:
|
||||||
for fp in group["inputs"][i][act]:
|
for fp in group["inputs"][i][act]:
|
||||||
|
|
Loading…
Add table
Reference in a new issue