input: Process events for unbound controllers

This commit is contained in:
Matt Borgerson 2020-03-26 13:52:32 -07:00
parent 90461de5cf
commit a10f24f030
1 changed files with 0 additions and 4 deletions

View File

@ -223,10 +223,6 @@ void xemu_input_update_controllers(void)
{
struct controller_state *iter;
for (iter=available_controllers; iter != NULL; iter=iter->next) {
if (iter->bound < 0) {
// Don't process unbound input devices
continue;
}
if (iter->type == INPUT_DEVICE_SDL_KEYBOARD) {
xemu_input_update_sdl_kbd_controller_state(iter);
} else if (iter->type == INPUT_DEVICE_SDL_GAMECONTROLLER) {