Home
last modified time | relevance | path

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

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