* Update the status of for the Mahjong input device. */
| 1950 | * Update the status of for the Mahjong input device. |
| 1951 | */ |
| 1952 | static void |
| 1953 | UpdateMahjong() |
| 1954 | { |
| 1955 | int x; |
| 1956 | |
| 1957 | MahjongData = 0; |
| 1958 | for (x = 0; x < 21; x++) |
| 1959 | { |
| 1960 | if (DTestButton(&MahjongButtons[x])) |
| 1961 | { |
| 1962 | MahjongData |= 1 << x; |
| 1963 | } |
| 1964 | } |
| 1965 | } |
| 1966 | |
| 1967 | static ButtConfig QuizKingButtons[6] = { |
| 1968 | MK(SDLK_Q), MK(SDLK_W), MK(SDLK_E), MK(SDLK_R), MK(SDLK_T), MK(SDLK_Y)}; |
no test coverage detected