Searched refs:hatstate (Results 1 – 1 of 1) sorted by relevance
356 Uint8 hatstate; in SDL_SYS_JoystickUpdate() local383 hatstate = SDL_HAT_CENTERED; in SDL_SYS_JoystickUpdate()385 hatstate |= SDL_HAT_LEFT; in SDL_SYS_JoystickUpdate()388 hatstate |= SDL_HAT_RIGHT; in SDL_SYS_JoystickUpdate()391 hatstate |= SDL_HAT_UP; in SDL_SYS_JoystickUpdate()394 hatstate |= SDL_HAT_DOWN; in SDL_SYS_JoystickUpdate()396 SDL_PrivateJoystickHat(joystick, 0, hatstate); in SDL_SYS_JoystickUpdate()442 hatstate = SDL_HAT_CENTERED; in SDL_SYS_JoystickUpdate()444 hatstate |= SDL_HAT_LEFT; in SDL_SYS_JoystickUpdate()447 hatstate |= SDL_HAT_RIGHT; in SDL_SYS_JoystickUpdate()[all …]