MCPcopy Create free account
hub / github.com/clementgallet/libTAS / inputTypeIsController

Method inputTypeIsController

src/shared/inputs/SingleInput.cpp:98–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98int SingleInput::inputTypeIsController() const
99{
100 return (type >= IT_CONTROLLER1_BUTTON) && (type <= IT_CONTROLLER4_AXIS);
101}
102
103int SingleInput::inputTypeToControllerNumber() const
104{

Callers 6

getInputMethod · 0.80
setInputMethod · 0.80
buildAllInputsMethod · 0.80
nextEventMethod · 0.80
keyPressEventMethod · 0.80
keyReleaseEventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected