Public Member Functions | Public Attributes

gamepad::joystick_t Struct Reference

a joystick is a 2-axis stick More...

#include <gamepad-map.h>

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

List of all members.

Public Member Functions

 joystick_t (void) throw ()
void clear (void) throw ()

Public Attributes

pot_value_t x
 current x-axis potentiometer value
pot_value_t y
 current y-axis potentiometer value

Detailed Description

a joystick is a 2-axis stick

Definition at line 97 of file gamepad-map.h.


Constructor & Destructor Documentation

gamepad::joystick_t::joystick_t ( void   )  throw () [inline]

Definition at line 99 of file gamepad-map.h.


Member Function Documentation

void gamepad::joystick_t::clear ( void   )  throw () [inline]

Definition at line 100 of file gamepad-map.h.


Member Data Documentation

current x-axis potentiometer value

Definition at line 106 of file gamepad-map.h.

current y-axis potentiometer value

Definition at line 107 of file gamepad-map.h.


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