MCPcopy Create free account
hub / github.com/defold/defold / GetMousePacket

Function GetMousePacket

engine/hid/src/hid.cpp:232–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230 }
231
232 bool GetMousePacket(HMouse mouse, MousePacket* out_packet)
233 {
234 if (out_packet != 0x0 && mouse != 0x0 && mouse->m_Connected)
235 {
236 *out_packet = mouse->m_Packet;
237 return true;
238 }
239 else
240 {
241 return false;
242 }
243 }
244
245 bool GetGamepadPacket(HGamepad gamepad, GamepadPacket* out_packet)
246 {

Callers 2

TEST_FFunction · 0.85
UpdateBindingFunction · 0.85

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.68