SDL_JoyHatEvent Struct Reference

Joystick hat position change event structure (event.jhat.*). More...

#include <SDL_events.h>


Data Fields

Uint8 type
Uint8 which
Uint8 hat
Uint8 value


Detailed Description

Joystick hat position change event structure (event.jhat.*).

Field Documentation

The joystick hat index

SDL_JOYHATMOTION

The hat position value: SDL_HAT_LEFTUP SDL_HAT_UP SDL_HAT_RIGHTUP SDL_HAT_LEFT SDL_HAT_CENTERED SDL_HAT_RIGHT SDL_HAT_LEFTDOWN SDL_HAT_DOWN SDL_HAT_RIGHTDOWN Note that zero means the POV is centered.

The joystick device index


The documentation for this struct was generated from the following file:

Generated on Mon Sep 21 21:32:25 2009 for Simple DirectMedia Layer by  doxygen 1.5.8