mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-01-23 21:51:09 +01:00
Fix an issue where the wrong action was being parsed, causing total failure in special action profile loading
This commit is contained in:
parent
031efa2b0c
commit
88ff296286
@ -1147,7 +1147,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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user