MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / bindDown

Method bindDown

source/game/StarInput.cpp:578–584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

576}
577
578Maybe<unsigned> Input::bindDown(String const& categoryId, String const& bindId) {
579 if (auto state = bindStatePtr(categoryId, bindId)) {
580 if (state->presses)
581 return state->presses;
582 }
583 return {};
584}
585
586bool Input::bindHeld(String const& categoryId, String const& bindId) {
587 if (auto state = bindStatePtr(categoryId, bindId))

Callers 2

updateMethod · 0.80
updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected