SDL: Only create controller when evdev is not available

If evdev is available the controller is most likely already created using evdev.
This commit is contained in:
baka0815.de 2018-11-13 10:30:54 +01:00
parent ab49ef89d0
commit 453fccb835
1 changed files with 3 additions and 0 deletions

View File

@ -96,9 +96,12 @@ void input_sdl_init()
}
// Create the first controller with two VMUs
// (only when evdev is not available as it's already configured via evdev then)
// TODO: make this configurable
#ifndef USE_EVDEV
printf("SDL: Creating controller in first port with 2 VMUs");
mcfg_CreateController(0, MDT_SegaVMU, MDT_SegaVMU);
#endif
}
else
{