Searched refs:hatstate (Results 1 – 1 of 1) sorted by relevance
487 Uint8 hatstate; in SDL_SYS_JoystickUpdate() local514 hatstate = SDL_HAT_CENTERED; in SDL_SYS_JoystickUpdate()516 hatstate |= SDL_HAT_LEFT; in SDL_SYS_JoystickUpdate()519 hatstate |= SDL_HAT_RIGHT; in SDL_SYS_JoystickUpdate()522 hatstate |= SDL_HAT_UP; in SDL_SYS_JoystickUpdate()525 hatstate |= SDL_HAT_DOWN; in SDL_SYS_JoystickUpdate()527 SDL_PrivateJoystickHat(joystick, 0, hatstate); in SDL_SYS_JoystickUpdate()585 hatstate = SDL_HAT_CENTERED; in SDL_SYS_JoystickUpdate()587 hatstate |= SDL_HAT_LEFT; in SDL_SYS_JoystickUpdate()590 hatstate |= SDL_HAT_RIGHT; in SDL_SYS_JoystickUpdate()[all …]