| 1614 | static uint8 fkbkeys[0x48]; |
| 1615 | |
| 1616 | static 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. |
no test coverage detected