This value specifies how far an analog stick has to be pressed to count as a C Button pres 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 roughly halfway to count as a C Button press, which allows you to push two C Buttons at once.
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.
<wtypes.h> may include all the BOOL/DWORD/etc. stuff as a low-level MSVC header, but it is not obligated to do so per the low-level header specifications for other compilers, such as (evidently) MinGW.
The old code only cared about if the macro was already defined (then #undef and re-define it). If it was NOT already defined, it just ignored the problem and causes unresolved compile-time symbols.
Interpolated Platform and Configuration values to avoid case-by-case
condition validation.
(This could allow for future configurations and platforms without
additional modifications to VCXPROJ files).
I'm not really a fan of using the Allman method of braces for typedef's, struct's or other data, but in this case N-Rage seems to have made up his mind throughout 99% the rest of the source to use Allman through it, except only for this particular file. So I guess better to be consistent with the rest.
This is to stop XInput controller one from having to be used in first player.
Also remove the need for the bconnected variable, allows controllers that are connected at game start to be disconnected and reconnected for XInput.