MCPcopy Create free account
hub / github.com/TurningWheel/Barony / input

Method input

src/input.cpp:340–346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338}
339
340Input::binding_t Input::input(const char* binding) const {
341 if (multiplayer != SINGLE && player != 0) {
342 return inputs[0].input(binding);
343 }
344 auto b = bindings.find(binding);
345 return b != bindings.end() ? (*b).second : Input::binding_t();
346}
347
348Input::ControllerType Input::getControllerType() const {
349 return getControllerType(player);

Callers 12

handleActionsMethod · 0.80
actPlayerFunction · 0.80
ingameHudFunction · 0.80
entityClickedFunction · 0.80
drawFollowerMenuMethod · 0.80
drawCalloutMenuMethod · 0.80
updateSignGUIMethod · 0.80
drawStatusNewFunction · 0.80
updateFrameTooltipMethod · 0.80
updateInventoryMethod · 0.80
updateRecordingMethod · 0.80
handleInputMethod · 0.80

Calls 2

binding_tClass · 0.85
endMethod · 0.45

Tested by

no test coverage detected