#include <inp_joystick_glut.hh>

Public Member Functions | |
| void | PrintStatus (void) |
Private Member Functions | |
| JoystickGlut (void) | |
| ~JoystickGlut () | |
| bool | Open (void) |
| void | Close (void) |
| bool | PollEvent (Event &event) |
| void | EnqueueGlutEvent (unsigned int buttonMask, int x, int y, int z) |
Static Private Member Functions | |
| static void | GlutCallback (unsigned int buttonMask, int x, int y, int z) |
Private Attributes | |
| const uint | mMaxAxis |
| const uint | mMaxButtons |
| bool | mRegisteredWithGlut |
| GlutEvent | mPrevGlutEvent |
| deque< Joystick::Event > | mQueue |
Static Private Attributes | |
| static JoystickGlut * | msJoystickGlutInstance |
Friends | |
| class | Global |
Classes | |
| struct | GlutEvent |
| inp::JoystickGlut::JoystickGlut | ( | void | ) | [private] |
ctor/dtor.
| inp::JoystickGlut::~JoystickGlut | ( | ) | [private] |
| void inp::JoystickGlut::PrintStatus | ( | void | ) | [virtual] |
Print status of joystick.
Implements inp::Joystick.
| bool inp::JoystickGlut::Open | ( | void | ) | [private, virtual] |
| void inp::JoystickGlut::Close | ( | void | ) | [private, virtual] |
Close joystick device.
Implements inp::Joystick.
| bool inp::JoystickGlut::PollEvent | ( | Event & | event | ) | [private] |
Dequeue one event from joystick driver and enqueue it into InputQueue.
| void inp::JoystickGlut::GlutCallback | ( | unsigned int | buttonMask, | |
| int | x, | |||
| int | y, | |||
| int | z | |||
| ) | [static, private] |
| void inp::JoystickGlut::EnqueueGlutEvent | ( | unsigned int | buttonMask, | |
| int | x, | |||
| int | y, | |||
| int | z | |||
| ) | [private] |
friend class Global [friend] |
Reimplemented from inp::Joystick.
JoystickGlut * inp::JoystickGlut::msJoystickGlutInstance [static, private] |
const uint inp::JoystickGlut::mMaxAxis [private] |
const uint inp::JoystickGlut::mMaxButtons [private] |
bool inp::JoystickGlut::mRegisteredWithGlut [private] |
GlutEvent inp::JoystickGlut::mPrevGlutEvent [private] |
deque<Joystick::Event> inp::JoystickGlut::mQueue [private] |
Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:28 2007