From 88ff296286d892884b176e5d6df784bb879f30fb Mon Sep 17 00:00:00 2001 From: Yoni Lerner Date: Mon, 27 Mar 2017 05:39:40 -0700 Subject: [PATCH] Fix an issue where the wrong action was being parsed, causing total failure in special action profile loading --- DS4Windows/DS4Control/Mapping.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DS4Windows/DS4Control/Mapping.cs b/DS4Windows/DS4Control/Mapping.cs index 24b06ed..398ac4b 100644 --- a/DS4Windows/DS4Control/Mapping.cs +++ b/DS4Windows/DS4Control/Mapping.cs @@ -1147,7 +1147,7 @@ namespace DS4Windows if (dcs.action != null) { if (dcs.actionType == DS4ControlSettings.ActionType.Key) - InputMethods.performKeyRelease(ushort.Parse(action.ToString())); + InputMethods.performKeyRelease(ushort.Parse(dcs.action.ToString())); else if (dcs.actionType == DS4ControlSettings.ActionType.Macro) { int[] keys = (int[])dcs.action;