Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

phJoystickData Class Reference

#include <phJoystickData.h>

Inheritance diagram for phJoystickData:

phLiveObject phMutex phObject phGravisGamePadProData phSideWinderPrecisionProData List of all members.

Detailed Description

Definition at line 25 of file phJoystickData.h.

Public Member Functions

 phJoystickData ()
 ~phJoystickData ()
int copy (phObject *copyto)
int swap (phObject *data)
int copyData (phJoystickData &copyfrom)
int swapData (phJoystickData &data)
int reset ()
int set (uint32_t naxis, int32_t *axis, uint32_t nbuttons, int32_t *button)
int setAxis (uint32_t axis_id, int32_t axis)
int setButton (uint32_t button_id, int32_t button)
int32_t getAxis (uint32_t axis_id)
uint32_t getAxisCount ()
int32_t getButton (uint32_t button_id)
uint32_t getButtonCount ()
ph_joystick_keygetKeys ()
uint32_t getKeyCount ()
int32_t get (const char *name)
int32_t valueMax ()
int32_t valueMin ()
int32_t x ()
int32_t roll ()
int32_t y ()
int32_t pitch ()
int32_t z ()
int32_t yaw ()
void print_data ()

Protected Member Functions

int setKeys (ph_joystick_key *keys, uint32_t key_count)

Private Attributes

uint32_t m_axis_count
uint32_t m_axis_size
uint32_t m_button_count
uint32_t m_button_size
uint32_t m_key_count

The documentation for this class was generated from the following files:

Copyright (C) 2002 - 2007 Philip D.S. Thoren ( )
University Of Massachusetts at Lowell
Robotics Lab Logo

Generated on Sat Jun 16 02:44:55 2007 for phission by  doxygen 1.4.4