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

Function UpdateQuizKing

src/drivers/sdl/input.cpp:1510–1524  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1508 * Update the status of the QuizKing input device.
1509 */
1510 static void
1511UpdateQuizKing ()
1512{
1513 int x;
1514
1515 QuizKingData = 0;
1516
1517 for (x = 0; x < 6; x++)
1518 {
1519 if (DTestButton (&QuizKingButtons[x]))
1520 {
1521 QuizKingData |= 1 << x;
1522 }
1523 }
1524}
1525
1526static ButtConfig TopRiderButtons[8] = {
1527 MK (Q), MK (W), MK (E), MK (R), MK (T), MK (Y), MK (U), MK (I)

Callers 1

FCEUD_UpdateInputFunction · 0.70

Calls 1

DTestButtonFunction · 0.70

Tested by

no test coverage detected