SDL_JoyHatEvent Struct Reference

#include <SDL_events.h>


Data Fields

Uint8 type
Uint8 which
Uint8 hat
Uint8 value


Detailed Description

Joystick hat position change event structure

Field Documentation

Uint8 hat

The joystick hat index

Uint8 type

SDL_JOYHATMOTION

Uint8 value

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.

Uint8 which

The joystick device index


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

Generated on Mon Sep 21 21:29:50 2009 for Simple DirectMedia Layer by  doxygen 1.5.8