sdljava.event
public class SDLJoyHatEvent extends SDLEvent
SDL_HAT_CENTERED
SDL_HAT_UP
SDL_HAT_RIGHT
SDL_HAT_DOWN
SDL_HAT_LEFT
The following defines are also provided:
SDL_HAT_RIGHTUP
SDL_HAT_RIGHTDOWN
SDL_HAT_LEFTUP
SDL_HAT_LEFTDOWN
Version: $Id: SDLJoyHatEvent.java,v 1.5 2005/01/25 02:50:45 ivan_ganza Exp $
| Field Summary | |
|---|---|
| SDL_JoyHatEvent | swigEvent |
| Method Summary | |
|---|---|
| int | getHat() |
| SDL_JoyHatEvent | getSwigEvent()
Gets the value of swigEvent
|
| int | getType()
The type of the this event
|
| HatState | getValue() |
| int | getWhich() |
| void | setSwigEvent(SDL_JoyHatEvent argSwigEvent)
Sets the value of swigEvent
|
| String | toString()
Return a string represenation of this object
|
Returns: the value of swigEvent
Returns: The type of event
Parameters: argSwigEvent Value to assign to this.swigEvent
Returns: a String represenation of this object