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

Method resetBinds

source/game/StarInput.cpp:647–652  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

645}
646
647void Input::resetBinds(String const& categoryId, String const& bindId) {
648 auto& entry = bindEntry(categoryId, bindId);
649
650 entry.customBinds = entry.defaultBinds;
651 entry.updated();
652}
653
654Json Input::getDefaultBinds(String const& categoryId, String const& bindId) {
655 JsonArray array;

Callers

nothing calls this directly

Calls 1

updatedMethod · 0.45

Tested by

no test coverage detected