- Defined NOMINMAX macro to disable windef.h's min/max macros; they were clashing with the C++ standard library's std::min/std::max.
- All uses of min/max that had ambiguous type deduction were explicitly instantiated as min<long> and max<long>.
- Header includes were sorted
Many thanks to DKO for the patch.
This value specifies how far an analog stick has to be pressed to count as a C Button press when C Buttons are mapped to an analog stick. The old value did not allow for pressing two c buttons at once, because diagonals did not meet the value. This value specifies that an analog stick must be pressed halfway to count as a C Button press, which allows you to push two C Buttons at once.