home features api download svn donate licensesend a comment contact
Spanish  

SJoystickState Struct Reference

The Joystick state. More...

#include <ceJoystick.h>

Collaboration diagram for SJoystickState:

List of all members.

Public Member Functions

 SJoystickState (void)
 Default constructor.
 SJoystickState (const SJoystickState &State)
 Copy constructor (KeyInfo).
const SJoystickStateoperator= (const SJoystickState &State)
const SJoystickStateoperator-> (void) const

Public Attributes

unsigned int x
 Current X-coordinate.
unsigned int y
 Current Y-coordinate.
unsigned int z
 Current Z-coordinate.
unsigned int buttons
 Current state of joystick buttons.

Detailed Description

The Joystick state.


Constructor & Destructor Documentation

SJoystickState ( void   )  [inline]

Default constructor.

Note:
Initialize the axes to zero (X=0, Y=0, Z=0).
SJoystickState ( const SJoystickState State  )  [inline]

Copy constructor (KeyInfo).

Parameters:
State Initialize the axes with other vector values.

Member Function Documentation

const SJoystickState& operator= ( const SJoystickState State  )  [inline]
const SJoystickState* operator-> ( void   )  const [inline]

Member Data Documentation

unsigned int x

Current X-coordinate.

unsigned int y

Current Y-coordinate.

unsigned int z

Current Z-coordinate.

unsigned int buttons

Current state of joystick buttons.


The documentation for this struct was generated from the following file:
 
 
 SourceForge.net
 
   Creative Commons License   Except where otherwise noted, content on this site is
  licensed under a Creative Commons Attribution 3.0 License