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

Function getInputType

src/drivers/win/taseditor.cpp:881–889  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

879}
880
881int getInputType(MovieData& md)
882{
883 if (md.fourscore)
884 return INPUT_TYPE_FOURSCORE;
885 else if (md.ports[0] == md.ports[1] == SI_GAMEPAD)
886 return INPUT_TYPE_2P;
887 else
888 return INPUT_TYPE_1P;
889}
890void setInputType(MovieData& md, int newInputType)
891{
892 switch (newInputType)

Callers 15

enterTASEditorFunction · 0.70
newProjectProcFunction · 0.70
handleEmuCmdByTaseditorFunction · 0.70
toggleInputMethod · 0.50
setInputUsingPatternMethod · 0.50
handleInputColumnSetMethod · 0.50
registerImportMethod · 0.50
loadMethod · 0.50
initMethod · 0.50
resetMethod · 0.50
updateMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected