This commit is contained in:
Travis Nickles 2017-03-29 03:06:03 -07:00
commit 96090fc857

View File

@ -1279,7 +1279,7 @@ namespace DS4Windows
if (dcs.action != null) if (dcs.action != null)
{ {
if (dcs.actionType == DS4ControlSettings.ActionType.Key) 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) else if (dcs.actionType == DS4ControlSettings.ActionType.Macro)
{ {
int[] keys = (int[])dcs.action; int[] keys = (int[])dcs.action;