MCPcopy Create free account
hub / github.com/TASEmulators/fceux / ButtonConfigBegin

Function ButtonConfigBegin

src/drivers/Qt/input.cpp:1382–1390  ·  view source on GitHub ↗

* Begin configuring the buttons by placing the video and joystick * subsystems into a well-known state. Button configuration really * needs to be cleaned up after the new config system is in place. */

Source from the content-addressed store, hash-verified

1380 * needs to be cleaned up after the new config system is in place.
1381 */
1382int ButtonConfigBegin()
1383{
1384 // initialize the joystick subsystem (if not already inited)
1385 InitJoysticks();
1386
1387 buttonConfigInProgress = 1;
1388
1389 return 1;
1390}
1391
1392/**
1393 * Finish configuring the buttons by reverting the video and joystick

Callers 2

enterButtonLoopMethod · 0.70
changeButtonMethod · 0.70

Calls 1

InitJoysticksFunction · 0.70

Tested by

no test coverage detected