replaced input defines with statics

This commit is contained in:
Noel Berry committed 2020-08-27 19:43:23 -07:00
1 parent 3caa4a0ee1
commit 71043af92a
9 files changed
+136 -91

No files matched your search

+2 -2
View File
@@ -30,8 +30,8 @@ using namespace Internal;
namespace
{
SDL_Window* window = nullptr;
SDL_Joystick* joysticks[BLAH_MAX_CONTROLLERS];
SDL_GameController* gamepads[BLAH_MAX_CONTROLLERS];
SDL_Joystick* joysticks[Blah::Input::max_controllers];
SDL_GameController* gamepads[Blah::Input::max_controllers];
char* basePath = nullptr;
char* userPath = nullptr;
bool displayed = false;