int32_t I_SliderRight(void) { return ( ((MOUSE_GetButtons()&LEFT_MOUSE) && (MOUSE_GetButtons()&WHEELDOWN_MOUSE)) || I_MenuRight() ); }
int32_t I_SliderLeft(void) { return ( ((MOUSE_GetButtons()&LEFT_MOUSE) && (MOUSE_GetButtons()&WHEELUP_MOUSE)) || I_MenuLeft() ); }
int32_t I_SliderRight(void) { return ( #if !defined EDUKE32_TOUCH_DEVICES MOUSEINACTIVECONDITIONAL((MOUSE_GetButtons()&LEFT_MOUSE) && (MOUSE_GetButtons()&WHEELDOWN_MOUSE)) || #endif I_MenuRight() ); }
int32_t I_CheckAllInput(void) { return ( KB_KeyWaiting() || MOUSE_GetButtons() || JOYSTICK_GetButtons() ); }
int32_t I_MenuDown(void) { return ( KB_KeyPressed(sc_DownArrow) || KB_KeyPressed(sc_kpad_2) || (MOUSE_GetButtons()&WHEELDOWN_MOUSE) || BUTTON(gamefunc_Move_Backward) || (JOYSTICK_GetHat(0)&HAT_DOWN) ); }
int32_t I_MenuUp(void) { return ( KB_KeyPressed(sc_UpArrow) || KB_KeyPressed(sc_kpad_8) || (MOUSE_GetButtons()&WHEELUP_MOUSE) || BUTTON(gamefunc_Move_Forward) || (JOYSTICK_GetHat(0)&HAT_UP) ); }
int32_t I_ReturnTrigger(void) { return ( KB_KeyPressed(sc_Escape) || (MOUSE_GetButtons()&RIGHT_MOUSE) || BUTTON(gamefunc_Crouch) #if defined(GEKKO) || (JOYSTICK_GetButtons()&(WII_B|WII_HOME)) #endif ); }
int32_t I_CheckAllInput(void) { return ( #if defined EDUKE32_IOS mousepressstate == Mouse_Pressed || #endif KB_KeyWaiting() || MOUSE_GetButtons() || JOYSTICK_GetButtons() ); }
int32_t I_MenuRight(void) { return ( KB_KeyPressed(sc_RightArrow) || KB_KeyPressed(sc_kpad_6) || (!SHIFTS_IS_PRESSED && KB_KeyPressed(sc_Tab)) || BUTTON(gamefunc_Turn_Right) || BUTTON(gamefunc_Strafe_Right) || (MOUSE_GetButtons()&MIDDLE_MOUSE) || (JOYSTICK_GetHat(0)&HAT_RIGHT) ); }
int32_t I_AdvanceTrigger(void) { return ( KB_KeyPressed(sc_kpad_Enter) || KB_KeyPressed(sc_Enter) || (MOUSE_GetButtons()&LEFT_MOUSE) || #if defined(GEKKO) (JOYSTICK_GetButtons()&WII_A) #else BUTTON(gamefunc_Open) || BUTTON(gamefunc_Fire) #endif ); }
int32_t I_AdvanceTrigger(void) { return ( KB_KeyPressed(sc_kpad_Enter) || KB_KeyPressed(sc_Enter) || #if !defined EDUKE32_TOUCH_DEVICES MOUSEINACTIVECONDITIONAL(MOUSE_GetButtons()&LEFT_MOUSE) || #endif #if defined(GEKKO) MOUSEINACTIVECONDITIONAL(JOYSTICK_GetButtons()&WII_A) #else BUTTON(gamefunc_Open) || # if !defined EDUKE32_TOUCH_DEVICES MOUSEINACTIVECONDITIONAL(BUTTON(gamefunc_Fire)) # else BUTTON(gamefunc_Fire) # endif #endif ); }