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:
parent
ab49ef89d0
commit
453fccb835
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue