Commit MetaInfo

Revisão6a5b9a3de32577d1c182ec1b770f960b839f58ed (tree)
Hora2020-03-04 03:35:38
AutorDavid Ludwig <dludwig@pobo...>
CommiterDavid Ludwig

Mensagem de Log

enable background joystick events, if DEV_DAVIDL is true

Mudança Sumário

Diff

diff -r 17d64556e9e4 -r 6a5b9a3de325 main.cpp
--- a/main.cpp Mon Mar 02 23:48:00 2020 -0500
+++ b/main.cpp Tue Mar 03 13:35:38 2020 -0500
@@ -1226,6 +1226,10 @@
12261226
12271227 int main()
12281228 {
1229+#if DEV_DAVIDL
1230+ SDL_SetHint(SDL_HINT_JOYSTICK_ALLOW_BACKGROUND_EVENTS, "1");
1231+#endif
1232+
12291233 // Initialize SDL and ImGui
12301234 SDL_Init(SDL_INIT_EVERYTHING);
12311235
Show on old repository browser