Only to make Developers aware that compiling current GIT with DIRECT_INPUT 7 enabled in the makefile produces compilation errors in osd/modules/input/input_dinput.cpp about the API DirectInput8Create() never defined.
A quick look at the code demonstrated me that there's already an internal check about which DIRECT_INPUT version is being used, so maybe the flag in the makefile should be removed? Obviously compiling with default value is ok.