From 19dc4f468a065e4e1e84cb0eeb013da85f9a960a Mon Sep 17 00:00:00 2001 From: Mr_Goldberg Date: Thu, 23 Sep 2021 22:35:30 -0400 Subject: [PATCH] Update controller config generator script. --- scripts/controller_config_generator/parse_controller_vdf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/controller_config_generator/parse_controller_vdf.py b/scripts/controller_config_generator/parse_controller_vdf.py index 926048c..569aeb0 100644 --- a/scripts/controller_config_generator/parse_controller_vdf.py +++ b/scripts/controller_config_generator/parse_controller_vdf.py @@ -148,10 +148,10 @@ for p in presets: elif group["mode"] == "dpad": 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) 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) else: if s[0] != "dpad":