mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-23 11:15:34 +08:00
fix for "inputs" not exists in vdf
This commit is contained in:
parent
0dcafc5cb8
commit
f7fe813310
@ -29,6 +29,8 @@ 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 act in group["inputs"][i]:
|
||||
for fp in group["inputs"][i][act]:
|
||||
|
Loading…
Reference in New Issue
Block a user