Honestly, it might be worth remaking the VS2017 project from scratch: the current one is just a conversion of the VS2003 one, so a lot of VS2017's new options are just blank. If it's remade from scratch, we'll get the defaults instead.
This required hacking-in DirectInput8 support since Visual Studio hasn't supported DirectInput7 and earlier since 2007.