mirror of
https://gitlab.com/Mr_Goldberg/goldberg_emulator.git
synced 2024-11-23 20:38:07 +01:00
Update controller config generator script.
This commit is contained in:
parent
50a6601f50
commit
19dc4f468a
1 changed files with 2 additions and 2 deletions
|
@ -148,10 +148,10 @@ for p in presets:
|
||||||
|
|
||||||
elif group["mode"] == "dpad":
|
elif group["mode"] == "dpad":
|
||||||
if s[0] == "joystick":
|
if s[0] == "joystick":
|
||||||
binding_map = {"dpad_north":"DLJOYUP", "dpad_south": "DLJOYDOWN", "dpad_west": "DLJOYLEFT", "dpad_east": "DLJOYRIGHT"}
|
binding_map = {"dpad_north":"DLJOYUP", "dpad_south": "DLJOYDOWN", "dpad_west": "DLJOYLEFT", "dpad_east": "DLJOYRIGHT", "click": "LSTICK"}
|
||||||
bindings = add_input_bindings(group, bindings, keymap=binding_map)
|
bindings = add_input_bindings(group, bindings, keymap=binding_map)
|
||||||
elif s[0] == "right_joystick":
|
elif s[0] == "right_joystick":
|
||||||
binding_map = {"dpad_north":"DRJOYUP", "dpad_south": "DRJOYDOWN", "dpad_west": "DRJOYLEFT", "dpad_east": "DRJOYRIGHT"}
|
binding_map = {"dpad_north":"DRJOYUP", "dpad_south": "DRJOYDOWN", "dpad_west": "DRJOYLEFT", "dpad_east": "DRJOYRIGHT", "click": "RSTICK"}
|
||||||
bindings = add_input_bindings(group, bindings, keymap=binding_map)
|
bindings = add_input_bindings(group, bindings, keymap=binding_map)
|
||||||
else:
|
else:
|
||||||
if s[0] != "dpad":
|
if s[0] != "dpad":
|
||||||
|
|
Loading…
Reference in a new issue