* Update the status of the HyperShot input device. */
| 1927 | * Update the status of the HyperShot input device. |
| 1928 | */ |
| 1929 | static void |
| 1930 | UpdateHyperShot() |
| 1931 | { |
| 1932 | int x; |
| 1933 | |
| 1934 | HyperShotData = 0; |
| 1935 | for (x = 0; x < 0x4; x++) |
| 1936 | { |
| 1937 | if (DTestButton(&HyperShotButtons[x])) |
| 1938 | { |
| 1939 | HyperShotData |= 1 << x; |
| 1940 | } |
| 1941 | } |
| 1942 | } |
| 1943 | |
| 1944 | static ButtConfig MahjongButtons[21] = { |
| 1945 | MK(SDLK_Q), MK(SDLK_W), MK(SDLK_E), MK(SDLK_R), MK(SDLK_T), |
no test coverage detected