summaryrefslogtreecommitdiff
path: root/apps/plugins/doom/i_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/doom/i_video.c')
-rw-r--r--apps/plugins/doom/i_video.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/apps/plugins/doom/i_video.c b/apps/plugins/doom/i_video.c
index 1fd56a335f..0e9d20f8cf 100644
--- a/apps/plugins/doom/i_video.c
+++ b/apps/plugins/doom/i_video.c
@@ -16,7 +16,10 @@
16 * GNU General Public License for more details. 16 * GNU General Public License for more details.
17 * 17 *
18 * $Log$ 18 * $Log$
19 * Revision 1.24 2006/09/05 00:23:06 barrywardell 19 * Revision 1.25 2006/10/26 13:38:04 barrywardell
20 * Allow the Sansa e200 UI simulator to be built. Thanks to Andre Smith for the nice image of the Sansa. Lots more to be done including testing and tweaking the keymaps and modifying the plugins for the Sansa's 176x220 LCD.
21 *
22 * Revision 1.24 2006-09-05 00:23:06 barrywardell
20 * Fix not being able to exit Doom on the H10. 23 * Fix not being able to exit Doom on the H10.
21 * 24 *
22 * Revision 1.23 2006-08-10 18:34:43 amiconn 25 * Revision 1.23 2006-08-10 18:34:43 amiconn
@@ -171,6 +174,16 @@ void I_ShutdownGraphics(void)
171#define DOOMBUTTON_ESC BUTTON_POWER 174#define DOOMBUTTON_ESC BUTTON_POWER
172#define DOOMBUTTON_ENTER BUTTON_REW 175#define DOOMBUTTON_ENTER BUTTON_REW
173#define DOOMBUTTON_WEAPON BUTTON_FF 176#define DOOMBUTTON_WEAPON BUTTON_FF
177#elif CONFIG_KEYPAD == SANSA_E200_PAD
178#define DOOMBUTTON_UP BUTTON_UP
179#define DOOMBUTTON_DOWN BUTTON_DOWN
180#define DOOMBUTTON_LEFT BUTTON_LEFT
181#define DOOMBUTTON_RIGHT BUTTON_RIGHT
182#define DOOMBUTTON_SHOOT BUTTON_SELECT
183#define DOOMBUTTON_OPEN BUTTON_REC
184#define DOOMBUTTON_ESC BUTTON_POWER
185#define DOOMBUTTON_ENTER BUTTON_SCROLL_UP
186#define DOOMBUTTON_WEAPON BUTTON_SCROLL_DOWN
174#else 187#else
175#define DOOMBUTTON_UP BUTTON_UP 188#define DOOMBUTTON_UP BUTTON_UP
176#define DOOMBUTTON_DOWN BUTTON_DOWN 189#define DOOMBUTTON_DOWN BUTTON_DOWN