SDL: Create the first controller with two VMUs

This commit is contained in:
baka0815.de 2018-11-08 09:02:25 +01:00
parent 19ca0edc2f
commit ab49ef89d0
1 changed files with 7 additions and 0 deletions

View File

@ -2,6 +2,8 @@
#include "types.h"
#include "cfg/cfg.h"
#include "linux-dist/main.h"
#include "hw/maple/maple_devs.h"
#include "hw/maple/maple_cfg.h"
#include "sdl/sdl.h"
#ifndef GLES
#include "khronos/GL3/gl3w.h"
@ -92,6 +94,11 @@ void input_sdl_init()
sdl_map_axis = sdl_map_axis_xbox360;
printf("Using Xbox 360 map\n");
}
// Create the first controller with two VMUs
// TODO: make this configurable
printf("SDL: Creating controller in first port with 2 VMUs");
mcfg_CreateController(0, MDT_SegaVMU, MDT_SegaVMU);
}
else
{