| 1301 | } |
| 1302 | |
| 1303 | void FCEUD_SetInput (bool fourscore, bool microphone, ESI port0, ESI port1, |
| 1304 | ESIFC fcexp) |
| 1305 | { |
| 1306 | eoptions &= ~EO_FOURSCORE; |
| 1307 | if (fourscore) |
| 1308 | { // Four Score emulation, only support gamepads, nothing else |
| 1309 | eoptions |= EO_FOURSCORE; |
| 1310 | CurInputType[0] = SI_GAMEPAD; // Controllers 1 and 3 |
| 1311 | CurInputType[1] = SI_GAMEPAD; // Controllers 2 and 4 |
| 1312 | CurInputType[2] = SIFC_NONE; // No extension |
| 1313 | } |
| 1314 | else |
| 1315 | { |
| 1316 | // no Four Core emulation, check the config/movie file for controller types |
| 1317 | CurInputType[0] = port0; |
| 1318 | CurInputType[1] = port1; |
| 1319 | CurInputType[2] = fcexp; |
| 1320 | } |
| 1321 | |
| 1322 | replaceP2StartWithMicrophone = microphone; |
| 1323 | |
| 1324 | InitInputInterface (); |
| 1325 | } |
| 1326 | |
| 1327 | /** |
| 1328 | * Initialize the input device interface between the emulation and the driver. |
nothing calls this directly
no test coverage detected