Public Types | Public Member Functions | Public Attributes

gamepad::device_state_t Struct Reference
[Source Device Interface]

state snapshot of a source device. Used by configuration tools only More...

#include <source-device.h>

Collaboration diagram for gamepad::device_state_t:
Collaboration graph
[legend]

List of all members.

Public Types

enum  eConstants {
  eMaxButtons = 256,
  eMaxPots = 256
}

Public Member Functions

 device_state_t (void) throw ()
void clear (void) throw ()
void dump (IN const char *title) const throw ()

Public Attributes

int nPots
int nButtons
int button [eMaxButtons]
pot_value_t pot [eMaxPots]

Detailed Description

state snapshot of a source device. Used by configuration tools only

Definition at line 280 of file source-device.h.


Member Enumeration Documentation

Enumerator:
eMaxButtons 
eMaxPots 

Definition at line 282 of file source-device.h.


The documentation for this struct was generated from the following file: