mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-22 17:29:18 +01:00
Change clause to use typeID instead of name string
This commit is contained in:
parent
03912ef1d5
commit
a85d1a50ab
@ -1218,7 +1218,7 @@ namespace DS4Windows
|
||||
//a quick tap to use and hold to use the regular custom button/key
|
||||
bool triggerToBeTapped = action.typeID == SpecialAction.ActionTypeId.None && action.trigger.Count == 1 &&
|
||||
GetDS4Action(device, action.trigger[0], false) == null;
|
||||
if (!(action.name == "null" || index < 0))
|
||||
if (!(action.typeID == SpecialAction.ActionTypeId.None || index < 0))
|
||||
{
|
||||
bool triggeractivated = true;
|
||||
if (action.delayTime > 0.0)
|
||||
|
Loading…
Reference in New Issue
Block a user