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

Function GetAcceleration

engine/platform/src/platform_window_null.cpp:147–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145 }
146
147 bool GetAcceleration(HWindow window, float* x, float* y, float* z)
148 {
149 if (x) *x = 0.0f;
150 if (y) *y = 0.0f;
151 if (z) *z = 0.0f;
152 return false;
153 }
154
155 const char* GetJoystickDeviceName(HWindow window, uint32_t joystick_index)
156 {

Callers 2

WindowGetAccelerationFunction · 0.70
UpdateFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected