* Update the status of the FTrainer input device. */
| 1555 | * Update the status of the FTrainer input device. |
| 1556 | */ |
| 1557 | static void |
| 1558 | UpdateFTrainer () |
| 1559 | { |
| 1560 | int x; |
| 1561 | FTrainerData = 0; |
| 1562 | |
| 1563 | for (x = 0; x < 12; x++) |
| 1564 | { |
| 1565 | if (DTestButton (&FTrainerButtons[x])) |
| 1566 | { |
| 1567 | FTrainerData |= (1 << x); |
| 1568 | } |
| 1569 | } |
| 1570 | } |
| 1571 | |
| 1572 | /** |
| 1573 | * Get the display name of the key or joystick button mapped to a specific |
no test coverage detected