mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-25 00:55:20 +02:00
Removed "gp2x.h" header
None of the definitions in it were used anymore.
This commit is contained in:
parent
aeb9b0b2df
commit
aeb9c12f5d
@ -16,7 +16,7 @@ gmenu2x_SOURCES = font.cpp cpu.cpp dirdialog.cpp filedialog.cpp \
|
|||||||
helppopup.cpp contextmenu.cpp background.cpp battery.cpp
|
helppopup.cpp contextmenu.cpp background.cpp battery.cpp
|
||||||
|
|
||||||
noinst_HEADERS = font.h cpu.h dirdialog.h \
|
noinst_HEADERS = font.h cpu.h dirdialog.h \
|
||||||
filedialog.h filelister.h gmenu2x.h gp2x.h iconbutton.h imagedialog.h \
|
filedialog.h filelister.h gmenu2x.h iconbutton.h imagedialog.h \
|
||||||
inputdialog.h inputmanager.h linkapp.h link.h \
|
inputdialog.h inputmanager.h linkapp.h link.h \
|
||||||
menu.h menusettingbool.h menusettingdir.h \
|
menu.h menusettingbool.h menusettingdir.h \
|
||||||
menusettingfile.h menusetting.h menusettingimage.h menusettingint.h \
|
menusettingfile.h menusetting.h menusettingimage.h menusettingint.h \
|
||||||
|
@ -18,8 +18,6 @@
|
|||||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
|
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#include "gp2x.h"
|
|
||||||
|
|
||||||
#include "background.h"
|
#include "background.h"
|
||||||
#include "cpu.h"
|
#include "cpu.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
53
src/gp2x.h
53
src/gp2x.h
@ -1,53 +0,0 @@
|
|||||||
/***************************************************************************
|
|
||||||
* Copyright (C) 2006 by Massimiliano Torromeo *
|
|
||||||
* massimiliano.torromeo@gmail.com *
|
|
||||||
* *
|
|
||||||
* This program is free software; you can redistribute it and/or modify *
|
|
||||||
* it under the terms of the GNU General Public License as published by *
|
|
||||||
* the Free Software Foundation; either version 2 of the License, or *
|
|
||||||
* (at your option) any later version. *
|
|
||||||
* *
|
|
||||||
* This program is distributed in the hope that it will be useful, *
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
|
|
||||||
* GNU General Public License for more details. *
|
|
||||||
* *
|
|
||||||
* You should have received a copy of the GNU General Public License *
|
|
||||||
* along with this program; if not, write to the *
|
|
||||||
* Free Software Foundation, Inc., *
|
|
||||||
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
|
|
||||||
***************************************************************************/
|
|
||||||
|
|
||||||
#include <linux/types.h>
|
|
||||||
|
|
||||||
#define GP2X_CLK_FREQ 7372800
|
|
||||||
|
|
||||||
#define GP2X_BUTTON_UP (0)
|
|
||||||
#define GP2X_BUTTON_DOWN (4)
|
|
||||||
#define GP2X_BUTTON_LEFT (2)
|
|
||||||
#define GP2X_BUTTON_RIGHT (6)
|
|
||||||
#define GP2X_BUTTON_UPLEFT (1)
|
|
||||||
#define GP2X_BUTTON_UPRIGHT (7)
|
|
||||||
#define GP2X_BUTTON_DOWNLEFT (3)
|
|
||||||
#define GP2X_BUTTON_DOWNRIGHT (5)
|
|
||||||
#define GP2X_BUTTON_CLICK (18)
|
|
||||||
#define GP2X_BUTTON_A (12)
|
|
||||||
#define GP2X_BUTTON_B (13)
|
|
||||||
#define GP2X_BUTTON_START (8)
|
|
||||||
#define GP2X_BUTTON_SELECT (9)
|
|
||||||
#define GP2X_BUTTON_VOLUP (16)
|
|
||||||
#define GP2X_BUTTON_VOLDOWN (17)
|
|
||||||
|
|
||||||
#ifdef GP2X_OLDSDL_FIX
|
|
||||||
#define GP2X_BUTTON_X (15)
|
|
||||||
#define GP2X_BUTTON_Y (14)
|
|
||||||
#define GP2X_BUTTON_L (11)
|
|
||||||
#define GP2X_BUTTON_R (10)
|
|
||||||
#else
|
|
||||||
#define GP2X_BUTTON_X (14)
|
|
||||||
#define GP2X_BUTTON_Y (15)
|
|
||||||
#define GP2X_BUTTON_L (10)
|
|
||||||
#define GP2X_BUTTON_R (11)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define FBMMSP2CTRL 0x4619
|
|
Loading…
Reference in New Issue
Block a user