MCPcopy Create free account
hub / github.com/begla/Intrinsic / resetKeyStates

Method resetKeyStates

IntrinsicCore/src/IntrinsicCoreInputSystem.h:161–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159 static void processMouseMoveEvent(const MouseMoveEvent& p_Event);
160
161 _INTR_INLINE static void resetKeyStates()
162 {
163 for (uint32_t i = 0u; i < Key::kCount; ++i)
164 {
165 _keyStates[i] = KeyState::kReleased;
166 }
167 }
168
169 _INTR_INLINE static uint8_t& getKeyState(Key::Enum p_Key)
170 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected