Skip to content

Commit e3fe242

Browse files
committed
Report handbrake change on disconnect
Solves the same bug as b39a437, but for the Handbrake class.
1 parent 731e298 commit e3fe242

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/SimRacing.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -1007,6 +1007,7 @@ bool Handbrake::update() {
10071007
}
10081008
else if (detector.getState() == DeviceConnection::Unplug) {
10091009
analogAxis.setPosition(analogAxis.getMin());
1010+
changed = true;
10101011
}
10111012

10121013
return changed;

0 commit comments

Comments
 (0)