Public Types | Public Member Functions | Public Attributes

gamepad::pot_value_t Struct Reference
[Source Device Interface]

what you get back when you read the value of a particular potentiometer More...

#include <source-device.h>

List of all members.

Public Types

enum  eConstants {
  eStartMin = (+1000) * (1000),
  eStartMax = (-1000) * (1000)
}

Public Member Functions

 pot_value_t (void) throw ()
void clear (void) throw ()
void dump (IN const char *title) const throw ()
bool isValid (void) const throw ()
void update (IN int newValue) throw ()

Public Attributes

int minSeen
 minimum value seen
int maxSeen
 maximum value seen
int value
 current (most recent) value

Detailed Description

what you get back when you read the value of a particular potentiometer

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


Member Enumeration Documentation

Enumerator:
eStartMin 
eStartMax 

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


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