MCPcopy Create free account
hub / github.com/TheForceEngine/TheForceEngine / getControllerAnalogDown

Function getControllerAnalogDown

TheForceEngine/TFE_Input/input.cpp:296–307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294 }
295
296 Axis getControllerAnalogDown()
297 {
298 if (fabsf(s_axis[AXIS_RIGHT_TRIGGER]) > 0.5f)
299 {
300 return AXIS_RIGHT_TRIGGER;
301 }
302 else if (fabsf(s_axis[AXIS_LEFT_TRIGGER]) > 0.5f)
303 {
304 return AXIS_LEFT_TRIGGER;
305 }
306 return AXIS_UNKNOWN;
307 }
308
309 MouseButton getMouseButtonPressed()
310 {

Callers 1

configInputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected