comparison render_sdl.c @ 2315:b67e4e930fa4

Workaround for SDL2 being unreliable in updating mapping for already "open" game controller
author Michael Pavone <pavone@retrodev.com>
date Fri, 31 Mar 2023 00:17:40 -0700
parents b7768c58f0da
children 1c7329ac7f3f
comparison
equal deleted inserted replaced
2314:59fd8aa352e2 2315:b67e4e930fa4
776 controllers[i] = NULL; 776 controllers[i] = NULL;
777 } 777 }
778 } 778 }
779 } 779 }
780 } 780 }
781 uint8_t render_are_gamepad_events_enabled(void)
782 {
783 return gc_events_enabled;
784 }
781 785
782 static uint32_t overscan_top[NUM_VID_STD] = {2, 21, 51}; 786 static uint32_t overscan_top[NUM_VID_STD] = {2, 21, 51};
783 static uint32_t overscan_bot[NUM_VID_STD] = {1, 17, 48}; 787 static uint32_t overscan_bot[NUM_VID_STD] = {1, 17, 48};
784 static uint32_t overscan_left[NUM_VID_STD] = {13, 13, 61}; 788 static uint32_t overscan_left[NUM_VID_STD] = {13, 13, 61};
785 static uint32_t overscan_right[NUM_VID_STD] = {14, 14, 62}; 789 static uint32_t overscan_right[NUM_VID_STD] = {14, 14, 62};