Debian Codegraph @

src/platforms/wii.h

raw symbols SCIP
1
2 /**
3 *
4 * @file wii.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 _WII_H
18 #define _WII_H
19
20 #include "platform_interface.h"
21
22 #ifdef __wii__
23
24 /* Device uses SDL2 */
25
26 // Video config
27 #define DEFAULT_SCREEN_WIDTH 640
28 #define DEFAULT_SCREEN_HEIGHT 480
29 #define FULLSCREEN_ONLY
30 #define NO_RESIZE
31
32 // Controller config
33 #define DEFAULT_BUTTON_JUMP (2) /* 1 */
34 #define DEFAULT_BUTTON_SWIM (2) /* 1 */
35 #define DEFAULT_BUTTON_FIRE (3) /* 2 */
36 #define DEFAULT_BUTTON_CHANGE (0) /* A */
37 #define DEFAULT_BUTTON_ENTER (3) /* 2 */
38 #define DEFAULT_BUTTON_ESCAPE (6) /* Home */
39 #define DEFAULT_BUTTON_STATS (4) /* - */
40 #define DEFAULT_BUTTON_PAUSE (5) /* + */
41
42 class WiiPlatform final : public IPlatform {
43 public:
44 WiiPlatform();
45
46 void AddGamePaths() override;
47 };
48
49 #endif
50
51 #endif