MCPcopy Create free account
hub / github.com/TASEmulators/fceux / UpdateHyperShot

Function UpdateHyperShot

src/drivers/Qt/input.cpp:1929–1942  ·  view source on GitHub ↗

* Update the status of the HyperShot input device. */

Source from the content-addressed store, hash-verified

1927 * Update the status of the HyperShot input device.
1928 */
1929static void
1930UpdateHyperShot()
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
1944static ButtConfig MahjongButtons[21] = {
1945 MK(SDLK_Q), MK(SDLK_W), MK(SDLK_E), MK(SDLK_R), MK(SDLK_T),

Callers 1

FCEUD_UpdateInputFunction · 0.70

Calls 1

DTestButtonFunction · 0.70

Tested by

no test coverage detected