This is the effective change:
- binaryInputStates[biStateIndex] = reader.getValueAsBool() ? 1 : 2;
- binaryInputStates[biStateIndex] = reader.getValueAsBool() ? 1 : 0;
If reader.getValueAsBool() returns false, 2 was passed to BinaryInputScanner::run(), 2 was forwarded to Device::handleBinaryInputEvent() and State was set to State_Unknown instead of State_Inactive.
Discussion: !461 (comment 31565)