Date:2015-04-25 21:30:29 (5 years 3 months ago)
Author:Maarten ter Huurne
Commit:aeb9c12f5d4734244b1c9a060927e6e727677db0
Message:Removed "gp2x.h" header

None of the definitions in it were used anymore.
Files: src/Makefile.am (1 diff)
src/gmenu2x.cpp (1 diff)
src/gp2x.h (1 diff)

Change Details

src/Makefile.am
1616    helppopup.cpp contextmenu.cpp background.cpp battery.cpp
1717
1818noinst_HEADERS = font.h cpu.h dirdialog.h \
19    filedialog.h filelister.h gmenu2x.h gp2x.h iconbutton.h imagedialog.h \
19    filedialog.h filelister.h gmenu2x.h iconbutton.h imagedialog.h \
2020    inputdialog.h inputmanager.h linkapp.h link.h \
2121    menu.h menusettingbool.h menusettingdir.h \
2222    menusettingfile.h menusetting.h menusettingimage.h menusettingint.h \
src/gmenu2x.cpp
1818 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
1919 ***************************************************************************/
2020
21#include "gp2x.h"
22
2321#include "background.h"
2422#include "cpu.h"
2523#include "debug.h"
src/gp2x.h
1/***************************************************************************
2 * Copyright (C) 2006 by Massimiliano Torromeo *
3 * massimiliano.torromeo@gmail.com *
4 * *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 * *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, write to the *
17 * Free Software Foundation, Inc., *
18 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19 ***************************************************************************/
20
21#include <linux/types.h>
22
23#define GP2X_CLK_FREQ 7372800
24
25#define GP2X_BUTTON_UP (0)
26#define GP2X_BUTTON_DOWN (4)
27#define GP2X_BUTTON_LEFT (2)
28#define GP2X_BUTTON_RIGHT (6)
29#define GP2X_BUTTON_UPLEFT (1)
30#define GP2X_BUTTON_UPRIGHT (7)
31#define GP2X_BUTTON_DOWNLEFT (3)
32#define GP2X_BUTTON_DOWNRIGHT (5)
33#define GP2X_BUTTON_CLICK (18)
34#define GP2X_BUTTON_A (12)
35#define GP2X_BUTTON_B (13)
36#define GP2X_BUTTON_START (8)
37#define GP2X_BUTTON_SELECT (9)
38#define GP2X_BUTTON_VOLUP (16)
39#define GP2X_BUTTON_VOLDOWN (17)
40
41#ifdef GP2X_OLDSDL_FIX
42    #define GP2X_BUTTON_X (15)
43    #define GP2X_BUTTON_Y (14)
44    #define GP2X_BUTTON_L (11)
45    #define GP2X_BUTTON_R (10)
46#else
47    #define GP2X_BUTTON_X (14)
48    #define GP2X_BUTTON_Y (15)
49    #define GP2X_BUTTON_L (10)
50    #define GP2X_BUTTON_R (11)
51#endif
52
53#define FBMMSP2CTRL 0x4619

Archive Download the corresponding diff file



interactive