Debian Codegraph @

src/platforms/dingoo.h

raw symbols SCIP
1
2 /**
3 *
4 * @file dingoo.h
5 *
6 * Part of the OpenJazz project
7 *
8 * @par Licence:
9 * Copyright (c) 2015-2026 Carsten Teibes
10 *
11 * OpenJazz is distributed under the terms of
12 * the GNU General Public License, version 2.0
13 *
14 */
15
16
17 #ifndef _DINGOO_H
18 #define _DINGOO_H
19
20 #ifdef DINGOO
21
22 /* Device uses SDL1.2 */
23
24 // Audio config
25 #define MUSIC_SETTINGS 0 // Low
26
27 // Video config
28 #define DEFAULT_SCREEN_WIDTH 320
29 #define DEFAULT_SCREEN_HEIGHT 240
30 #define FULLSCREEN_ONLY
31 #define NO_RESIZE
32 #define FULLSCREEN_FLAGS 0
33
34 // Controller config
35 #define NO_CONTROLLER_CFG
36
37 // Keyboard config
38 #define DEFAULT_KEY_JUMP (SDLK_LCTRL)
39 #define DEFAULT_KEY_SWIM (SDLK_LCTRL)
40 #define DEFAULT_KEY_FIRE (SDLK_LALT)
41 #define DEFAULT_KEY_CHANGE (SDLK_LSHIFT)
42 #define DEFAULT_KEY_ENTER (SDLK_LCTRL)
43 #define DEFAULT_KEY_ESCAPE (SDLK_ESCAPE)
44 #define DEFAULT_KEY_STATS (SDLK_TAB)
45 #define DEFAULT_KEY_PAUSE (SDLK_RETURN)
46 #define DEFAULT_KEY_YES (SDLK_LCTRL)
47 #define DEFAULT_KEY_NO (SDLK_LALT)
48
49 #endif
50
51 #endif