OSDLJoystickCommon.h File Reference

#include "OSDLEvents.h"
#include "Ceylan.h"
#include <string>
#include <list>
Include dependency graph for OSDLJoystickCommon.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  OSDL::Events::JoystickException
 Mother class for all joystick exceptions. More...

Namespaces

namespace  OSDL
 

Definition of the main OSDL common non-specialized types.


namespace  OSDL::Events
 

Deals with all events of interest for a multimedia engine.


Typedefs

typedef Ceylan::Uint32 OSDL::Events::JoystickNumber
 Number (index) of a joystick, or joystick count.
typedef Ceylan::Uint32 OSDL::Events::JoystickAxesCount
 Number of joystick axis.
typedef Ceylan::Uint32 OSDL::Events::JoystickTrackballsCount
 Number of joystick trackballs.
typedef Ceylan::Uint32 OSDL::Events::JoystickHatsCount
 Number of joystick hats.
typedef Ceylan::Uint32 OSDL::Events::JoystickButtonsCount
 Number of joystick buttons.
typedef Ceylan::Sint16 OSDL::Events::AxisPosition
 Axis position, which ranges from -32768 to 32767.
typedef Ceylan::Uint8 OSDL::Events::HatPosition
 Position of a hat, can be combined (OR'd) to make the eight possible directions.
typedef Ceylan::Sint32 OSDL::Events::BallMotion
 Relative trackball motion.

Variables

const HatPosition OSDL::Events::Centered = 0x00
 State of a joystick hat.
const HatPosition OSDL::Events::Up = 0x01
 State of a joystick hat.
const HatPosition OSDL::Events::Right = 0x02
 State of a joystick hat.
const HatPosition OSDL::Events::Down = 0x04
 State of a joystick hat.
const HatPosition OSDL::Events::Left = 0x08
 State of a joystick hat.
const HatPosition OSDL::Events::RightUp
 State of a joystick hat.
const HatPosition OSDL::Events::RightDown
 State of a joystick hat.
const HatPosition OSDL::Events::LeftUp
 State of a joystick hat.
const HatPosition OSDL::Events::LeftDown
 State of a joystick hat.
Generated on Mon Nov 29 14:04:37 2010 for OSDL by  doxygen 1.6.3