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

Function UpdateFKB

src/drivers/sdl/input.cpp:1442–1455  ·  view source on GitHub ↗

* Update the status of the Family KeyBoard. */

Source from the content-addressed store, hash-verified

1440 * Update the status of the Family KeyBoard.
1441 */
1442static void UpdateFKB ()
1443{
1444 int x;
1445
1446 for (x = 0; x < 0x48; x++)
1447 {
1448 fkbkeys[x] = 0;
1449
1450 if (DTestButton (&fkbmap[x]))
1451 {
1452 fkbkeys[x] = 1;
1453 }
1454 }
1455}
1456
1457static ButtConfig HyperShotButtons[4] = {
1458 MK (Q), MK (W), MK (E), MK (R)

Callers 1

FCEUD_UpdateInputFunction · 0.70

Calls 1

DTestButtonFunction · 0.70

Tested by

no test coverage detected