Module: SDL2::Joystick::Hat
- Defined in:
- ext/sdl2_ext/joystick.c,
ext/sdl2_ext/joystick.c
Overview
Constant Summary collapse
- CENTERED =
Center position. Equal to 0.
INT2NUM(SDL_HAT_CENTERED)
- UP =
Up position.
INT2NUM(SDL_HAT_UP)
- RIGHT =
Right position.
INT2NUM(SDL_HAT_RIGHT)
- DOWN =
Down position.
INT2NUM(SDL_HAT_DOWN)
- LEFT =
Left position.
INT2NUM(SDL_HAT_LEFT)
- RIGHTUP =
INT2NUM(SDL_HAT_RIGHTUP)
- RIGHTDOWN =
INT2NUM(SDL_HAT_RIGHTDOWN)
- LEFTUP =
INT2NUM(SDL_HAT_LEFTUP)
- LEFTDOWN =
INT2NUM(SDL_HAT_LEFTDOWN)