inp.hh

Go to the documentation of this file.
00001 /*
00008  * LEGAL:   COPYRIGHT (C) 2007 JIM E. BROOKS
00009  *          THIS SOURCE CODE IS RELEASED UNDER THE TERMS
00010  *          OF THE GNU GENERAL PUBLIC LICENSE VERSION 2 (GPL 2).
00011  *****************************************************************************/
00012 
00013 #ifndef INP_HH
00014 #define INP_HH 1
00015 
00016 #include "inp_keyboard.hh"
00017 #include "inp_joystick.hh"
00018 
00019 // System-specific Keyboard class name.
00020 #if GFXSYS_OPENGL
00021 #   define INP_KEYBOARD_CLASS KeyboardGlut
00022 #   include "inp_keyboard_glut.hh"
00023 #else
00024 #   error
00025 #endif
00026 
00027 // System-specific Joystick classes.
00028 // FreeBSD's devel/linux-js port emulates a Linux joystick driver.
00029 // Global is responsible, in part, for choosing which Joystick object.
00030 #if __linux__ || OS_FREEBSD
00031 #   include "inp_joystick_linux.hh"
00032 #endif
00033 #if GFXSYS_OPENGL
00034 #   include "inp_joystick_glut.hh"
00035 #endif
00036 #include "inp_joystick_nop.hh"
00037 
00038 // Input queue:
00039 #include "inp_queue.hh"
00040 #include "inp_global.hh"
00041 
00042 #endif // INP_HH
Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:11 2007