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

Function UpdatePPadData

src/drivers/win/input.cpp:426–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

424static uint32 powerpadbuf[2];
425
426static uint32 UpdatePPadData(int w)
427{
428 uint32 r=0;
429 ButtConfig *ppadtsc=powerpadsc[w];
430 int x;
431
432 for(x=0;x<12;x++)
433 if(DTestButton(&ppadtsc[x])) r|=1<<x;
434
435 return r;
436}
437
438
439ButtConfig virtualboysc[2][14]={

Callers 1

FCEUD_UpdateInputFunction · 0.70

Calls 1

DTestButtonFunction · 0.70

Tested by

no test coverage detected