Make the interface buttons always override gamepad buttons if active, also allow accessing the "power" and "power (long)" buttons from the gamepad's joysticks presses (R3 and L3), and also fix compilation with Visual Studio toolchain
fixes #13
Feel free to only take some parts of my changes, as you could find some of them to be incorrect or to not suit your needs.
Actually, I could associate the R3 button to "Home" and the L3 button to "Power", and associate the guide button to "Power (Long)", because it's actually possible that the guide button won't be present on some controllers, and/or that vJoy won't recognize it
Make the interface buttons always override gamepad buttons if active, also allow accessing the "power" and "power (long)" buttons from the gamepad's joysticks presses (R3 and L3), and also fix compilation with Visual Studio toolchain fixes #13
Feel free to only take some parts of my changes, as you could find some of them to be incorrect or to not suit your needs.
Actually, I could associate the R3 button to "Home" and the L3 button to "Power", and associate the guide button to "Power (Long)", because it's actually possible that the guide button won't be present on some controllers, and/or that vJoy won't recognize it