Added support for Windows GameInput 2.0

This commit is contained in:
Sam Lantinga
2025-07-17 15:38:39 -07:00
parent 631aa697e6
commit 3b9db3dd62
3 changed files with 41 additions and 35 deletions

View File

@@ -31,7 +31,9 @@
#define GAMEINPUT_API_VERSION 0
#endif
#if GAMEINPUT_API_VERSION == 1
#if GAMEINPUT_API_VERSION == 2
using namespace GameInput::v2;
#elif GAMEINPUT_API_VERSION == 1
using namespace GameInput::v1;
#endif