Skip to content

Commit

Permalink
Temporary fix for forza motorsport. Always enable direction
Browse files Browse the repository at this point in the history
  • Loading branch information
Ultrawipf committed Apr 2, 2024
1 parent ba16023 commit 9bf8173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Firmware/FFBoard/Src/HidFFB.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ void HidFFB::set_effect(FFB_SetEffect_t* effect){
effect->enableAxis = X_AXIS_ENABLE;
}

bool directionEnable = (effect->enableAxis & this->directionEnableMask);
bool directionEnable = true; //Forza motorsport fix! (effect->enableAxis & this->directionEnableMask);

if(effect_p->useSingleCondition){ // Only allow turning single condition off in case it was overridden by sending multiple conditions previously
effect_p->useSingleCondition = directionEnable; // If direction is used only a single parameter block is allowed. Somehow this is still set while 2 conditions are sent...
Expand Down

0 comments on commit 9bf8173

Please sign in to comment.