* Update the status of the FTrainer input device. */
| 2016 | * Update the status of the FTrainer input device. |
| 2017 | */ |
| 2018 | static void |
| 2019 | UpdateFTrainer() |
| 2020 | { |
| 2021 | int x; |
| 2022 | FTrainerData = 0; |
| 2023 | |
| 2024 | for (x = 0; x < 12; x++) |
| 2025 | { |
| 2026 | if (DTestButton(&FTrainerButtons[x])) |
| 2027 | { |
| 2028 | FTrainerData |= (1 << x); |
| 2029 | } |
| 2030 | } |
| 2031 | } |
| 2032 | |
| 2033 | /** |
| 2034 | * Get the display name of the key or joystick button mapped to a specific |
no test coverage detected