VR Development Framework
v 1.0.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
float AVR.Core.AVR_ControllerInputManager.getEventStatus ( FloatEvent  type)
inline

Returns the status of a given FloatEvent

Definition at line 276 of file AVR_ControllerInputManager.cs.

277  {
278  switch (type)
279  {
280  case FloatEvent.PRIMARY2DAXIS_X : { return primary2DAxis.x; }
281  case FloatEvent.PRIMARY2DAXIS_Y: { return primary2DAxis.y; }
282  default: { AVR_DevConsole.cwarn("getEventStatus does not recoginze value " + type, this); break; }
283  }
284  return -1.0f;
285  }