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

Function joypad_getup

src/lua-engine.cpp:2862–2865  ·  view source on GitHub ↗

joypad.getup(which) returns a table of every game button that is not currently held

Source from the content-addressed store, hash-verified

2860// joypad.getup(which)
2861// returns a table of every game button that is not currently held
2862static int joypad_getup(lua_State *L)
2863{
2864 return joy_get_internal(L, true, false);
2865}
2866
2867// table joypad.getimmediate(int which)
2868// Reads immediate state of joypads (at the moment of calling)

Callers

nothing calls this directly

Calls 1

joy_get_internalFunction · 0.85

Tested by

no test coverage detected