Main Page | Namespace List | Class List | File List | Class Members | File Members

machine_gp2x.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   NGT (Neopontec Gaming Toolkit                                         *
00003  *   Distributed under the terms of the GNU LGPL License                   *
00004  *   Copyright (C) 2005 by Hector Blanco de Frutos                         *
00005  *   hectorblanco@neopontec.com                                            *
00006  *   Refer to the LICENSE file to read the full license agreement          *
00007  ***************************************************************************/
00008 
00009 
00010 #ifndef MACHINE_GP2X_H_
00011 #define MACHINE_GP2X_H_
00012 
00013 
00014 // Joystick mapping
00015 // You can obtain more info in this webpage:
00016 //              http://wiki.gp2x.org/wiki/SDL_Joystick_mapping
00017 #define GP2X_BUTTON_UP              (0)
00018 #define GP2X_BUTTON_DOWN            (4)
00019 #define GP2X_BUTTON_LEFT            (2)
00020 #define GP2X_BUTTON_RIGHT           (6)
00021 #define GP2X_BUTTON_UPLEFT          (1)
00022 #define GP2X_BUTTON_UPRIGHT         (7)
00023 #define GP2X_BUTTON_DOWNLEFT        (3)
00024 #define GP2X_BUTTON_DOWNRIGHT       (5)
00025 #define GP2X_BUTTON_CLICK           (18)
00026 #define GP2X_BUTTON_A               (12)
00027 #define GP2X_BUTTON_B               (13)
00028 #define GP2X_BUTTON_X               (14)
00029 #define GP2X_BUTTON_Y               (15)
00030 #define GP2X_BUTTON_L               (10)
00031 #define GP2X_BUTTON_R               (11)
00032 #define GP2X_BUTTON_START           (8)
00033 #define GP2X_BUTTON_SELECT          (9)
00034 #define GP2X_BUTTON_VOLUP           (16)
00035 #define GP2X_BUTTON_VOLDOWN         (17)
00036 // The Joystick mapping was taken from the GP2X development wiki at this URL:
00037 //      http://wiki.gp2x.org/wiki/SDL_Joystick_mapping
00038 
00039 
00040 
00041 #endif /*MACHINE_GP2X_H_*/

Generated on Sat Feb 4 10:15:16 2006 for Neopntec Gaming Toolkit - API reference by  doxygen 1.4.4