MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / input_unsubscribe

Function input_unsubscribe

StereoKitC/systems/input.cpp:80–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78///////////////////////////////////////////
79
80void input_unsubscribe(input_source_ source, button_state_ input_event, void (*input_event_callback)(input_source_ source, button_state_ input_event, const pointer_t &in_pointer)) {
81 for (int32_t i = input_listeners.count-1; i >= 0; i--) {
82 if (input_listeners[i].source == source &&
83 input_listeners[i].event == input_event &&
84 input_listeners[i].event_callback == input_event_callback) {
85 input_listeners.remove(i);
86 }
87 }
88}
89
90///////////////////////////////////////////
91

Callers

nothing calls this directly

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected