1
0
Fork 0
mirror of https://github.com/Detanup01/gbe_fork.git synced 2025-08-03 14:15:31 +02:00

fix for "inputs" not exists in vdf

This commit is contained in:
Detanup01 2024-09-15 21:46:09 +02:00 committed by GitHub
parent 0dcafc5cb8
commit f7fe813310
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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]: