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

Function updateGamePadKeyMappings

src/drivers/Qt/input.cpp:1616–1632  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1614static uint8 fkbkeys[0x48];
1615
1616static void updateGamePadKeyMappings(void)
1617{
1618 std::list<gamepad_function_key_t *>::iterator it;
1619
1620 for (int i=0; i<4; i++)
1621 {
1622 if (GamePad[i].gpKeySeqList.size() == 0)
1623 {
1624 continue;
1625 }
1626
1627 for (it = GamePad[i].gpKeySeqList.begin(); it != GamePad[i].gpKeySeqList.end(); it++)
1628 {
1629 (*it)->updateStatus();
1630 }
1631 }
1632}
1633
1634/**
1635 * Update all of the input devices required for the active game.

Callers 1

FCEUD_UpdateInputFunction · 0.85

Calls 3

updateStatusMethod · 0.80
sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected