mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-26 11:04:21 +01:00
parent
c3fcfbfddf
commit
4980cd01dc
@ -1721,8 +1721,10 @@ namespace DS4Windows
|
||||
DS4Device d = ctrl.DS4Controllers[device];
|
||||
//cus
|
||||
|
||||
DS4State tempPrevState = d.getPreviousState();
|
||||
DS4StateFieldMapping tempPrevMapping = new DS4StateFieldMapping(tempPrevState, eState, tp);
|
||||
bool activeCur = getBoolMapping2(device, action.trigger[0], cState, eState, tp, fieldMapping);
|
||||
bool activePrev = getBoolMapping2(device, action.trigger[0], d.getPreviousState(), eState, tp, fieldMapping);
|
||||
bool activePrev = getBoolMapping2(device, action.trigger[0], tempPrevState, eState, tp, tempPrevMapping);
|
||||
if (activeCur && !activePrev)
|
||||
{
|
||||
// pressed down
|
||||
|
Loading…
Reference in New Issue
Block a user