Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

JoystickInput.h File Reference

Defines the JoystickInput class. More...

#include "InputObject.h"
#include "DirectInput/joystick.h"

Go to the source code of this file.

Compounds

class  JoystickInput
 Concrete class that describes a joystick input device. More...


Defines

#define NUM_BUTTONS   9
 The number of joystick buttons.


Enumerations

enum  JoystickChannels {
  JC_AXIS_X = 0, JC_AXIS_Y = 1, JC_AXIS_Z = 2, JC_ROTATE_X = 3,
  JC_ROTATE_Y = 4, JC_ROTATE_Z = 5, JC_POV_X = 6, JC_POV_Y = 7,
  JC_SLIDER0 = 10, JC_SLIDER1 = 11, JC_BUTTON0 = 20, JC_BUTTON1 = 21,
  JC_BUTTON2 = 22, JC_BUTTON3 = 23, JC_BUTTON4 = 24, JC_BUTTON5 = 25,
  JC_BUTTON6 = 26, JC_BUTTON7 = 27, JC_BUTTON8 = 28
}
 Enum describing the input channels of a joystick device. More...


Detailed Description

Defines the JoystickInput class.

Author:
Jon Parise <jparise@cmu.edu>
Version:
Revision:
1.9
Date:
Date:
2001/10/14 20:34:06


Enumeration Type Documentation

enum JoystickChannels
 

Enum describing the input channels of a joystick device.

Enumeration values:
JC_AXIS_X  Joystick X axis
JC_AXIS_Y  Joystick Y axis
JC_AXIS_Z  Joystick Z axis
JC_ROTATE_X  Joystick X rotation axis
JC_ROTATE_Y  Joystick Y rotation axis
JC_ROTATE_Z  Joystick Z rotation axis
JC_POV_X  Joystick POV hat X axis
JC_POV_Y  Joystick POV hat Y axis
JC_SLIDER0  Joystick slider 0
JC_SLIDER1  Joystick slider 1
JC_BUTTON0  Joystick button 0
JC_BUTTON1  Joystick button 1
JC_BUTTON2  Joystick button 2
JC_BUTTON3  Joystick button 3
JC_BUTTON4  Joystick button 4
JC_BUTTON5  Joystick button 5
JC_BUTTON6  Joystick button 6
JC_BUTTON7  Joystick button 7
JC_BUTTON8  Joystick button 8


Generated on Tue Oct 16 14:06:18 2001 for PuppetMaster by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001