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

Function UpdateHyperShot

src/drivers/sdl/input.cpp:1464–1477  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1462 * Update the status of the HyperShot input device.
1463 */
1464 static void
1465UpdateHyperShot ()
1466{
1467 int x;
1468
1469 HyperShotData = 0;
1470 for (x = 0; x < 0x4; x++)
1471 {
1472 if (DTestButton (&HyperShotButtons[x]))
1473 {
1474 HyperShotData |= 1 << x;
1475 }
1476 }
1477}
1478
1479static ButtConfig MahjongButtons[21] = {
1480 MK (Q), MK (W), MK (E), MK (R), MK (T),

Callers 1

FCEUD_UpdateInputFunction · 0.70

Calls 1

DTestButtonFunction · 0.70

Tested by

no test coverage detected