Home
last modified time | relevance | path

Searched refs:hatstate (Results 1 – 1 of 1) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/joystick/mint/
DSDL_sysjoystick.c487 Uint8 hatstate; in SDL_SYS_JoystickUpdate() local
514 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 …]