Searched refs:joystate (Results 1 – 2 of 2) sorted by relevance
70 ULONG joystate; member136 joystick->hwdata->joystate=0L; in SDL_SYS_JoystickOpen()159 if(!(joystick->hwdata->joystate&JPF_JOY_DOWN)) in SDL_SYS_JoystickUpdate()164 if(!(joystick->hwdata->joystate&JPF_JOY_UP)) in SDL_SYS_JoystickUpdate()167 else if(joystick->hwdata->joystate&(JPF_JOY_UP|JPF_JOY_DOWN)) in SDL_SYS_JoystickUpdate()172 if(!(joystick->hwdata->joystate&JPF_JOY_LEFT)) in SDL_SYS_JoystickUpdate()177 if(!(joystick->hwdata->joystate&JPF_JOY_RIGHT)) in SDL_SYS_JoystickUpdate()180 else if(joystick->hwdata->joystate&(JPF_JOY_LEFT|JPF_JOY_RIGHT)) in SDL_SYS_JoystickUpdate()183 else if(joystick->hwdata->joystate&(JPF_JOY_LEFT|JPF_JOY_RIGHT)) in SDL_SYS_JoystickUpdate()187 else if(joystick->hwdata->joystate&(JPF_JOY_UP|JPF_JOY_DOWN)) in SDL_SYS_JoystickUpdate()[all …]
46 int joystate; member103 joystick->hwdata->joystate=0; in SDL_SYS_JoystickOpen()122 int oldstate = joystick->hwdata->joystate; in SDL_SYS_JoystickUpdate()153 joystick->hwdata->joystate = newstate; in SDL_SYS_JoystickUpdate()