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

Method enterButtonLoop

src/drivers/Qt/FamilyKeyboard.cpp:1505–1523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1503}
1504//*********************************************************************************
1505void FKBKeyMapDialog::enterButtonLoop(void)
1506{
1507 buttonConfigStatus = 2;
1508
1509 waitingForButton = true;
1510
1511 ButtonConfigBegin();
1512
1513 DWaitButton(NULL, &fkbmap[ keyIdx ], &buttonConfigStatus);
1514
1515 ButtonConfigEnd();
1516
1517 buttonConfigStatus = 1;
1518
1519 waitingForButton = false;
1520
1521 done(0);
1522 deleteLater();
1523}
1524//*********************************************************************************
1525void FKBKeyMapDialog::closeEvent(QCloseEvent *event)
1526{

Callers 2

ctxMapPhysicalKeyMethod · 0.80
keyTreeItemActivatedMethod · 0.80

Calls 3

ButtonConfigBeginFunction · 0.70
DWaitButtonFunction · 0.70
ButtonConfigEndFunction · 0.70

Tested by

no test coverage detected