Returns the status of a given BoolEvent Definition at line 234 of file AVR_ControllerInputManager.cs. 242 case BoolEvent.PRIMARY2DAXIS_CLICK_LEFT: { return primary2DAxisClick && primary2DAxis.x < -0.5; }
243 case BoolEvent.PRIMARY2DAXIS_CLICK_RIGHT: { return primary2DAxisClick && primary2DAxis.x > 0.5; }
244 case BoolEvent.PRIMARY2DAXIS_CLICK_LEFTORRIGHT: { return primary2DAxisClick && Mathf.Abs(primary2DAxis.x) > 0.5; }
245 case BoolEvent.PRIMARY2DAXIS_CLICK_MIDDLE: { return primary2DAxisClick && Mathf.Abs(primary2DAxis.x) < 0.5; }
247 case BoolEvent.PRIMARY2DAXIS_CLICKDOWN_LEFT: { return primary2DAxisClickDown && primary2DAxis.x < -0.5; }
248 case BoolEvent.PRIMARY2DAXIS_CLICKDOWN_RIGHT: { return primary2DAxisClickDown && primary2DAxis.x > 0.5; }
249 case BoolEvent.PRIMARY2DAXIS_CLICKDOWN_LEFTORRIGHT: { return primary2DAxisClickDown && Mathf.Abs(primary2DAxis.x) > 0.5; }
250 case BoolEvent.PRIMARY2DAXIS_CLICKDOWN_MIDDLE: { return primary2DAxisClickDown && Mathf.Abs(primary2DAxis.x) < 0.5; }
252 case BoolEvent.PRIMARY2DAXIS_TOUCH_LEFT: { return primary2DAxisTouch && primary2DAxis.x < -0.5; }
253 case BoolEvent.PRIMARY2DAXIS_TOUCH_RIGHT: { return primary2DAxisTouch && primary2DAxis.x > 0.5; }
254 case BoolEvent.PRIMARY2DAXIS_TOUCH_LEFTORRIGHT: { return primary2DAxisTouch && Mathf.Abs(primary2DAxis.x) > 0.5; }
255 case BoolEvent.PRIMARY2DAXIS_TOUCH_MIDDLE: { return primary2DAxisTouch && Mathf.Abs(primary2DAxis.x) < 0.5; }
268 default : { AVR_DevConsole.cwarn("getEventStatus does not recoginze value "+type, this); break; }
bool triggerDown True on the frame the trigger-button is pressed down Definition: AVR_ControllerInputManager.cs:128 bool primary2DAxisTouch True if the primary2D axis is being touched by the user Definition: AVR_ControllerInputManager.cs:67 bool menuButtonUp True on the frame the menubutton is released Definition: AVR_ControllerInputManager.cs:176 bool triggerUp True on the frame the trigger-button is released Definition: AVR_ControllerInputManager.cs:140 bool primary2DAxisClick True if the primary2D axis is being clicked Definition: AVR_ControllerInputManager.cs:77 bool menuButtonDown True on the frame the menubutton is pressed down Definition: AVR_ControllerInputManager.cs:164 bool gripDown True on the frame the grip is pressed down Definition: AVR_ControllerInputManager.cs:199 bool primary2DAxisClickDown True on the frame that the primary 2D axis is pressed down Definition: AVR_ControllerInputManager.cs:87 bool triggerButton True if the trigger button is being pressed Definition: AVR_ControllerInputManager.cs:117 |