* Update the status of for the Mahjong input device. */
| 1486 | * Update the status of for the Mahjong input device. |
| 1487 | */ |
| 1488 | static void |
| 1489 | UpdateMahjong () |
| 1490 | { |
| 1491 | int x; |
| 1492 | |
| 1493 | MahjongData = 0; |
| 1494 | for (x = 0; x < 21; x++) |
| 1495 | { |
| 1496 | if (DTestButton (&MahjongButtons[x])) |
| 1497 | { |
| 1498 | MahjongData |= 1 << x; |
| 1499 | } |
| 1500 | } |
| 1501 | } |
| 1502 | |
| 1503 | static ButtConfig QuizKingButtons[6] = { |
| 1504 | MK (Q), MK (W), MK (E), MK (R), MK (T), MK (Y) |
no test coverage detected