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

Method actions

source/windowing/StarKeyBindings.cpp:172–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172Set<InterfaceAction> KeyBindings::actions(Key key) const {
173 return actions(KeyChord{key, KeyMod::NoMod});
174}
175
176Set<InterfaceAction> KeyBindings::actions(InputEvent const& event) const {
177 if (auto keyDown = event.ptr<KeyDownEvent>())

Callers

nothing calls this directly

Calls 3

valueMethod · 0.45
clearMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected