MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / GetController

Method GetController

Source/UserInput/input.cpp:780–782  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

778}
779
780PlayerInput* Input::GetController(int id) {
781 return id >= 0 && id < player_inputs_.size() ? &player_inputs_[id] : NULL;
782}
783
784void Input::ProcessBindings() {
785 for (auto& open_joystick : open_joysticks_) {

Callers 9

SendPlayerInputStateMethod · 0.80
ApplyPlayerInputMethod · 0.80
UpdateControlsMethod · 0.80
AS_GetMoveXAxisFunction · 0.80
AS_GetMoveYAxisFunction · 0.80
AS_GetInputDownFilteredFunction · 0.80
AS_GetLookXAxisFunction · 0.80
AS_GetLookYAxisFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected